Presentation is loading. Please wait.

Presentation is loading. Please wait.

Web Programming – Java Script Association of Computing Activities Computer Science and Engineering Indian Institute of Technology Kanpur.

Similar presentations


Presentation on theme: "Web Programming – Java Script Association of Computing Activities Computer Science and Engineering Indian Institute of Technology Kanpur."— Presentation transcript:

1 Web Programming – Java Script Association of Computing Activities Computer Science and Engineering Indian Institute of Technology Kanpur

2 XAMPP Download and Install XAMPP Start the xampp server by clicking on the desktop icon(if it asks click on the mysql,apache) Check http://localhosthttp://localhost If you want to run file.php then type in your browser localhost/file.php

3 Java Script Scripting Language User Side dynamic(than php) Case Sensitive

4 Outline of Lecture Format Basics Functions Popups Events Validation

5 Format Written mostly with html Script tag with attribute type ID for part of the code

6 Basics document.getElementById(“ “) inner.HTML=“ ”; Variables var …. = “ “;

7 Functions Function name() { } Button with onclick attribute =“name” Clicking on the function executes the function Hidden text

8 popups alert(“ “); Confirm( “ “); Prompt(“ “,” ”); window.location = “ "; Indexof();


Download ppt "Web Programming – Java Script Association of Computing Activities Computer Science and Engineering Indian Institute of Technology Kanpur."

Similar presentations


Ads by Google