Web Technology

HTML Form put this form in form.php file






Name for=”email”>Email
Password name=”password” id=”password” class=”text ui-widget-content ui-corner-all” />

dkvasani
dkvdadava




</form>
</div>

 Above Jquery libary you must have to download and put it external js file name=jquery-1.9.0.js
Jqeury Ajax Script –put this script into above form.php file

http://”jquery-1.9.0.js”


function getAllValues() {

$.ajax({
type: “GET”,
url: “insupdd.php”,
data:$(‘#mainDiv’).serialize()

}).done(function( msg ) {
alert( “Data Saved–: ” + msg );

});
}

$(‘#btnupdate’).click(function(){
getAllValues() ;
});

create insupdd.php file  to insert  data using ajax.

<?php
$mysql_hostname = “localhost”;
$mysql_user =…

View original post 42 more words

Advertisements

One thought on “

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s