Hi Guys’

I have hit a complete brick wall on this one.

I have an ASP page that lists out a DB into 3 columns. Each row has a
unique ID number.  When the user updates a checkbox I would like to
fire off an AJAX update to my DB.

I have made the page that’s ready to receive the unique ID Number and
updated my DB but I can’t get the unique ID number to the update page
using Jquery.

I have the following script working to update a specific record. I
just can take it to the next level so that it will pick up individual
ID’s and post them across.

<html>
<head>
<title></title>
<script language="javascript" src="Sitefiles-N/js/
jquery-1.3.2.min.js"></script>
<script language="javascript">
function click_function()
{
$.post("Sitefiles-N/jquery.formwizard-0.9.8/QuoteProcessor3.asp",
{QuoteNo: $("#QuoteNo").val(), accept: $("#accept").val() },
function(responseText){$("#show_stuff").html(responseText)});
}
</script>
</head>
<body>

<label>Enter your name:</label> <input name="QuoteNo" type="text"
id="QuoteNo" value="83" />
<br /><br />
<label>accept:</label> <input name="accept" type="text" id="accept"
value="-1" />
<br /><br />
<p><a href="#" onclick="click_function();">click this</a> </p>
<input type="button" value="click this to make Ajax call"
onclick="click_function();">

<div id="show_stuff"></div>

</body>
</html>

Reply via email to