php - how to show alert "data already exists" -
I think this is my first project newbie, I do not know how to solve any problem about duplication of data Pass input is page <2>
Serial,
and one combobox: 1 Line.
I think the input is twice, I mean there is a double input data here, the warning will be "data already exists"
$ ("#input"). Click on (function () {if ($ ("$") Valid ()) {var params = $ ("# submit"). Serialize (); $ .ajax ({type: "post", url: " Process1.php ", data: parameter change (function () {var $ current = $ (this); $ ('input [' input 'name ^ =" text "]'). Each (function () {if ($ (This) .val () == $ current.val () and amp; $ (this) .attr ('id')! = $ Current.attr ('id')) {Warning ('data already $ ("# ShowModel") Val ($ ("#model") Val ().). $ ("# Showline") Val ($ ("# line" ) .Val ().).
View this answer:
< P>
Comments
Post a Comment