I have single page with div element , that changes color regarding of selected color. Selection is made using select box.
Select color from table_colors where id=($_GET["id"])
Current URL :
http://localhost/colors.php?id=1
My plan is to :
- Choose color green (id=2) from select box.
- Using JQuery , to change href id value
- Refresh page (or just a DIV) to change the color
In my situation It is very important to pass value to URL How it is done?