Hi All,
I have a series of checkboxes on an HTML page and I would like to check the checkboxes based on corresponding HTML query string params.
e.g.
...path/page.html?i=1&j=1&x=0
would cause a page with three checkboxes to check 1 and 2 on load.
Can someone show me how to do this or point me in the direction of a suitable tutorial?
Many Thanks,
EDIT: A clarification, i, j and x are just picked off the top of my head, but they are boolean variables (1 = true, 0 = false) and each corresponds to a checkbox so:
i = one checkbox, the value in the example is 1, so the checkbox should be checked.
j = as above
x = one checkbox, the value in the example is 0, so the checkbox should not be checked.