codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  value of text field  moisesZaragoza at 16:09 on Wednesday, December 17, 2008
 



Hi,
I am having a problem in getting the value of a particualr field element.

i have a function that gets the field name but i want to get the value.



[PHP]


function playText(message)
{
var message;
// message = Field name


newMessage=productform.RestaurantNamePhonetic.value; // this gives a error
alert(newMessage); // display the value of the text field
}

[/PHP]








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums
//








Recent Forum Threads
•  Microsoft Access (VB) Question
•  Add an OnChange event to an ASP page
•  value of text field
•  value of text field
•  Perl Critic trouble
•  OPENING FOR: PERL (Developer/ Senior/ Team Lead)
•  Re: Help with code
•  remove character on a line of a file with check box
•  Pulling Data from 2 tables with variables from a 3rd table!!!


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2008