Results 1 to 5 of 5
Hybrid View
-
19th Apr 2011, 07:05 PM #1Member
JmZ's example using jQuery is probably the best route you can take - it makes everything easier.
Also instead of using the ID's of your input fields, place an ID on each of the td tags the inputs are in, then use the same code. For IE6 however you may have to put a conditional statement in there and use table-row instead of block for display.
If you decide to take the jQuery route, then you should be fine using the input ID's although you will have empty table rows.AdM.as Reviewed by AdM.as on . Problem using javascript in form field I am looking to show few extra form fields depending on the selection from a drop down menu. For eg. in a drop down asking for payment option if i select Online bank transfer then it should create/show a new form field below it asking for bank account number and name. And, if i select paypal then it should ask for paypal id. I have made this code which is working fine when i dont use form tag.<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" Rating: 5
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Multiple names for same HTML form field
By pankaj in forum Web Development AreaReplies: 0Last Post: 6th May 2012, 02:45 PM -
form validation problem [help need]
By shakac in forum Web Development AreaReplies: 3Last Post: 18th Apr 2012, 12:44 PM -
JavaScript problem
By ChosenOne in forum Web Development AreaReplies: 22Last Post: 1st Mar 2012, 05:50 PM -
New Noob in the field
By xwebhosting9 in forum IntroductionsReplies: 0Last Post: 8th Dec 2011, 03:21 PM -
[Hiring] Settle Problem My PopUP Javascript
By kedenya in forum Completed TransactionsReplies: 1Last Post: 9th Aug 2011, 06:34 AM
themaCreator - create posts from...
Version 3.53 released. Open older version (or...