File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes How to add events using javascript? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "How to add events using javascript?" Watch "How to add events using javascript?" New topic
Author

How to add events using javascript?

Sandeep Patel
Greenhorn

Joined: Jan 16, 2009
Posts: 11
I have written a code in javascript to add rows to a table dynamically by clicking on to a button. I have taken values in the drop down list through database.. but it is working only for the first row.. when click on ADD row.. the event is not fired?? what is the error i am not getting that.. please help me on this...
Aditya Keyal
Ranch Hand

Joined: Dec 01, 2008
Posts: 71
Please attach the code that you have used. Also preferable give details of the javascript error you get when you click on the add button second time. YOou can't expect a solution with such a vague description. Also try to read How To Ask Questions.


- Aditya Webservices Blog
 
jQuery in Action, 2nd edition
 
subject: How to add events using javascript?
 
Similar Threads
Setting focus on a row, after refreshing the page
dynamic text box
counting rows in javascript
Retrieving list of values from select box using javascript
Dynamic adding of a table row