Solved

Coldfusion and jquery update

Posted on 2012-03-14
3
569 Views
Last Modified: 2012-06-27
I'm looking for a complete but basic example of how you would do an update with jquery when a user clicks a check box without a page refresh. Assume the check box name is the field name in the table and the field rowID is the unique id in the a table called sometable.

Looking for a complete sound example.

Thanks in advance.

<form action="" method="post" name="form1">

<input name="field1" type="checkbox" value="" /> Checkbox1
<input name="field2" type="checkbox" value="" /> checkbox2
<input name="field3" type="checkbox" value="" /> checkbox3

<input name="rowID" type="hidden" value="1" />

</form>

Open in new window

0
Comment
Question by:-Matthew-
  • 2
3 Comments
 
LVL 13

Accepted Solution

by:
srikanthmadishetti earned 500 total points
ID: 37720890
0
 
LVL 13

Expert Comment

by:ansudhindra
ID: 37720903
0
 
LVL 13

Expert Comment

by:srikanthmadishetti
ID: 37720980
@ansudhindra ,

what you have suggested is with CFMX7 when there was no inbuilt  functions available in CF

Now we have
ColdFusion.Ajax.submitForm , coldfusion.naviagte ,SerializeJSON ,DeserializeJSON.

No need to write lengthy line of codes  best to use the inbuilt functions available
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
jQuery on Submit 4 45
How can I make the first part identical to the second ? 1 26
Review of the nodejs code 1 17
Send form to asp server side 6 10
This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
Hi. There are several upload tutorials using jquery and coldfusion. I found a very interesting one here Upload Your Files using Jquery & ColdFusion and Preview them (http://www.randhawaworld.com/) . I did keep the main js functions but made sever…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question