Solved

Coldfusion and jquery update

Posted on 2012-03-14
3
566 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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…

758 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now