Solved

Coldfusion and jquery update

Posted on 2012-03-14
3
571 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-
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
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…
Suggested Courses

738 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