Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript How-To
| Search | Today's Posts | Mark Forums Read
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old May 31st, 2005, 01:37 PM
Registered User
Join Date: May 2005
Location: Porto Alegre, RS, Brazil.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to marcioschilling
Default "Pressed button" selector with onload refresh


I will better explain what I am trying to do, my previous post had no replies.

I need to make a page with 3 buttons which will send a value (1,2 or 3) to a programmable logic controller. I have made it and it sends out the value ok, but if I reload the page I have no way to display which value is currently selected. I am able to read the protocol register from the PLC as a text field, which will read it and display a 1,2 or 3, but I would like to represent the selected value as a "pressed button". I know I can use a value verify function and then have a button image associated with the respective value, but I simply do not know how to actually do it nor have I found an example on the net.

Thanks in advance, any help will be truly appreciated.

Regards to all,

Marcio Schilling

Similar Threads
Thread Thread Starter Forum Replies Last Post
Refresh GridView Using Refresh Button msbsam ASP.NET 2.0 Professional 0 December 6th, 2006 05:57 AM
How to open a popup when back button is pressed Vadivel Javascript How-To 1 May 12th, 2006 03:08 AM
Back button pressed -Urgent mikedeepak Javascript 2 September 29th, 2005 12:07 AM
Executing a file when button pressed scoobie Pro PHP 1 May 10th, 2005 05:35 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.