Click here to Skip to main content
12,357,929 members (71,777 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: PHP
sir i'm having 4 radio buttons called pallet number,box number, bundle number, si number, id i select pallet radio button it has to display all pallet numbers in database just i need how to navigate the particular page if i clicked radio button.
Posted 19-Sep-12 22:30pm

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

If I understand correctly your setup is as follows:
4 radio buttons, as soon as you click one of them a different page needs to load.
You can simple do this client side, with JavaScript or jQuery, depending on your requirements.
Give your radio button an Id, and add an event handler for the 'changed' state, like this:
http://stackoverflow.com/a/8997289[^]
You can then modify the JavaScript Window.Location property to let the user issue another page.
Optionally you can also supply parameters to the page (QueryStrings / URL rerouting) depending on your requirements.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160621.1 | Last Updated 20 Sep 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100