Solved

JQuery Toggle Button that sets/resets database record

Posted on 2010-08-22
3
571 Views
Last Modified: 2012-05-10
Hi All,
I want to display a toggle button on a webpage, which changes colour and displays the words ON (Green button)  or OFF (Red button), dependant on the state of a database record behind the toggle button - with the database record toggling between on/off every time the button is pressed.
Many thanks
Jamie
0
Comment
Question by:Jamie
[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
 

Accepted Solution

by:
bugmenotcom earned 500 total points
ID: 33496354
0
 

Author Comment

by:Jamie
ID: 33496370
Hi bugmenotcom - many thanks for your reply. Do you know of any coded examaples anywhere, as it is all a bit confusing for me currently!
thanks
Jamie
0
 

Author Closing Comment

by:Jamie
ID: 33548545
Answer did not cover all areas of question.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Jquery-Javascript setAttribute function help 7 24
jQuery dialog box help 2 23
Ahax pagination 9 47
googleapis - jQuery.com and so forth 3 19
Hi all! Recently there was EE question and the person wanted to have a multi-column textbox <div> selection, so as a first step to answer I provided a link but that was not complete with JavaScript selection, but had a good style sheet. So as a ques…
Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer …
The viewer will learn how to dynamically set the form action using jQuery.
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)

763 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