Solved

Coldfusion and jquery update

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This is an updated version of a post made on my blog over 3 years ago. It is unfortunately, still very relevant as we continue to see both SQLi (SQL injection) and XSS (cross site scripting) attacks hitting some of the most recognizable website and …
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
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…

729 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