This (http://jsfiddle.net/dPrXM/) is supposed to make two more fields appear when you click the more button, but it is unfortunately not working. I cannot for the life of me figure out why, but I am convinced that it's something very simple and probably pretty stupid.
monkeytherat 0 Newbie Poster
Recommended Answers
Jump to PostThis () is supposed to make two more fields appear when you click the more button, but it is unfortunately not working. I cannot for the life of me figure out why, but I am convinced that it's something very simple and probably pretty stupid.
@monkeytherat
Did you …
Jump to Posthave you tried
elem.style.display = "block"
; instead of "tr"?
Jump to PostHai;
This code also works
<body> <style type="text/css"> table, th, td{ margin: 0; font: 16px helvetica, sans-serif; border: 1px solid black; } tr { display: block; } </style> <form name="teacher" method="post" action="teacher.php"> <table> <tr id="name"> <td> <label for="first_name">First Name</label> </td> <td> <input type="text" name="first_name"> </td> <td> <label …
Jump to Post@monkeytherat you are right. your script is working fine for me but not fiddle.
All 16 Replies

LastMitch
monkeytherat 0 Newbie Poster

LastMitch
monkeytherat 0 Newbie Poster

LastMitch
monkeytherat 0 Newbie Poster

LastMitch
monkeytherat 0 Newbie Poster
monkeytherat 0 Newbie Poster
Troy III 272 Posting Pro
monkeytherat 0 Newbie Poster
Bachu 45 Newbie Poster
designershiv 1 Newbie Poster
monkeytherat 0 Newbie Poster
monkeytherat 0 Newbie Poster
designershiv 1 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.