Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

passing formname and texboxname in a function as parameter

 
usha mocherla
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want to pass a formname and textboxname in the function.
the function is not taking the formname and textboxname.it is giving "undefined".
kindlly suggest me how to procede.
thanx
regards
 
Kalai Selvan
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Usha,
while asking such questions, please also paste the code fragment.......
Anywayz just have a look at following code fragment, it may help u.



Note: Due to some problem in posting i have written onclick as on_click.

--------------
KALAI SELVAN T
[ November 10, 2004: Message edited by: Kalai Selvan ]
 
usha mocherla
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
i m sorry for the inconvenience to you.
i m trying the same thing its not working.
thanx
regards
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok, we accepted your sorry.
but again you haven't pasted the code snippet.
 
usha mocherla
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
again sorry
but i told u i am using the same code which u gave .there is no differnce
so thts why i didn't give the code.


thanx
regards
 
Kalai Selvan
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok fine.
Did u tried the code.
If not then save it as a somename.html file, and try. If it works properly then probably the error is in your code.

---------------
Kalai Selvan T.
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it sounds like javascript question, anyways. try this out more simple and straight. and i hope bug free.

 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can not send the post if your post has the word onclick. it pissed me off really.

i was like
and then like
and then became
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic