Advertisement
sandeepios

Untitled

Nov 11th, 2011
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5.  
  6. <title>Scrolling DIV demo on iPhone / iPod Touch / Android / iPad</title>
  7. <script type="text/javascript">
  8. function myfunc()
  9.  
  10. {
  11. var inputval = document.getElementById('first_text').value;
  12.  
  13. ar arr= new Array()
  14. arr["going"]="GNG";
  15. arr["used to"]="UD";
  16. arr["as soon as possible"]="asap";
  17. arr["to do fast"]="tdf";
  18.  
  19.  
  20. }
  21.  
  22.  
  23.  
  24.  
  25. </script>
  26.  
  27.  
  28.  
  29. </head>
  30.  
  31. <body>
  32.  
  33.  
  34.  
  35. <input type="text" id="first_text"/>
  36. <input type="text" id="second_text"/>
  37.  
  38. <input type="button" onclick="myfunc()" value="Click!" />
  39.  
  40.  
  41.  
  42.  
  43. </body>
  44. </html>
  45.  
  46.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement