Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <script>
- $(document).ready(function(e){
- $("#id1").change(function(e){
- $("celula1").text = $("#id1").text;
- });
- $("#table1 td").each(function(e){
- $(this).text = "cevreau eu";
- });
- });
- </script>
- </head>
- <body>
- <input type = "text" id = "id1" class = "x"/>
- <input type = "text" id = "id1" class = "x"/>
- <select id = "dropdown1">
- <option value="1">masina verde</option>
- <option value="2">masina rosie</option>
- </select>
- <table id="table1">
- <tr>
- <td id = "celula1"></td>
- </tr>
- <table>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement