Ajax

Links for php scripts

Moderators: egami, macek, gesf

Post Reply
anuradha
New php-forum User
New php-forum User
Posts: 10
Joined: Thu Dec 29, 2011 10:25 pm

Tue Feb 28, 2012 1:03 am

hi
you can try out::::

step1. give an id to the text box in php codes.
step2. in the ajax fun create a variable and assign the value of the text box to it.
eg:
(php code)
<?php
<input type="text" id="m"/>
?>

(ajax fun)
var e=document.getElementbyId("m").value;


---------------------------
this will make the value of text box be assigned to var e.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest