aspose file tools*
The moose likes JSP and the fly likes passing formname and texboxname in a function as parameter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "passing formname and texboxname in a function as parameter" Watch "passing formname and texboxname in a function as parameter" New topic
Author

passing formname and texboxname in a function as parameter

usha mocherla
Ranch Hand

Joined: Sep 24, 2004
Posts: 33
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

Joined: Jul 07, 2004
Posts: 79
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

Joined: Sep 24, 2004
Posts: 33
hi
i m sorry for the inconvenience to you.
i m trying the same thing its not working.
thanx
regards
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
Ok, we accepted your sorry.
but again you haven't pasted the code snippet.
usha mocherla
Ranch Hand

Joined: Sep 24, 2004
Posts: 33
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

Joined: Jul 07, 2004
Posts: 79
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

Joined: Aug 15, 2004
Posts: 2874
it sounds like javascript question, anyways. try this out more simple and straight. and i hope bug free.

Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: passing formname and texboxname in a function as parameter
 
Similar Threads
requesting a web page through httpclient
Struts & AJAX
calling submit internally
Select All
My form submit is called twice