tsilenzio Posted August 12, 2009 Share Posted August 12, 2009 I been trying to make some kind of function or code to go from: <td class="al"><label for="username">Desired Username:</label></td> To: <td class="al"><label for="username">Desired Username:</label><br /><span class="error">Error Message Here</span></td> And what would this be called if it has a name? Thank you in advance! Link to comment https://forums.phpfreaks.com/topic/169858-javascript-noob-on-the-fly-html/ Share on other sites More sharing options...
haku Posted August 12, 2009 Share Posted August 12, 2009 Do you mean you want to add the error text? If so, it's a DOM manipulation technique. Link to comment https://forums.phpfreaks.com/topic/169858-javascript-noob-on-the-fly-html/#findComment-896123 Share on other sites More sharing options...
tsilenzio Posted August 12, 2009 Author Share Posted August 12, 2009 That would be correct, I will read up on the area! Link to comment https://forums.phpfreaks.com/topic/169858-javascript-noob-on-the-fly-html/#findComment-896142 Share on other sites More sharing options...
KevinM1 Posted August 12, 2009 Share Posted August 12, 2009 Look up 'HTML injection.' That should speed up your search efforts. Link to comment https://forums.phpfreaks.com/topic/169858-javascript-noob-on-the-fly-html/#findComment-896489 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.