Solved

Coldfusion and jquery update

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

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

CFGRID Custom Functionality Series -  Part 1 Hi Guys, I was once asked how it is possible to to add a hyperlink in the cfgrid and open the window to show the data. Now this is quite simple, I have to use the EXT JS library for this and I achiev…
Recently while working on a project I got a very annoying cfdocument has no body error message. I had never seen this error before. So I checked the code. The code was pretty simple; it was Just showing me the cfdocumnt tag and inside that tag a …
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…

772 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