My first code in JQUERY. (.HTML) -


i writing first code in jquery language.

jquery code:

<script type="text/javascript">     $('#firemni').click(function(){         $('tr#firma').html("<td width='22%'>firma *</td>  <td> <input type='text' name='name' required></td>");     }); </script> 

html: ...

<input id="firemni" type="radio" name="group2" value="firma"> firemni zakaznik <tr id="firma2"></tr> 

these codes show me no error. don't know error, wrong? thx lot time.

$(document).ready(function(){     $('#firemni').click(function(){     $('tr#firma2').html("<td width='22%'>firma *</td>  <td> <input type='text' name='name' required></td>");     }); }); 

or if like, post ur script under html tags.


Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Automatically create pages in phpfox -

c# - Farseer ContactListener is not working -