In general, form selections will persist when the page is refreshed.
If you add a random query string like "?foo=bar", you should see your
selections reset.
In regards to james' comments above, I think it would be far cleaner
to reset the form before the page unloads. This is a simple task:
$(wi
You can have as many document ready checks as you want. I'd like to
keep things organized by only having one though.
As for the checkbox being selected by default when the page loads, you
can do either of two things:
1) run the function on page load that checks for the checkbox and do
any changes
Hi There
Try this
[code]
$(document).ready(function(){
if ($("#show_resolve").is
(":checked"))
{
$
(".submit_problem_form_right").css("visibilit
Sorry Johnathan, I sent a seperate reply, but it never came through.
Thanks for your input.. My question about it was... is it bad practice
to have more than one $(document.ready(function(){}) scripts, or can I
have multiple?
Cheers,
Beren
On Aug 7, 1:43 pm, "Jonathan Vanherpe (T & T NV)"
wro
I've changed it a little bit, so it doesn't show/hide the div, it's
meant to disable the input elements:
Can anyone see why ticking it works, but unticking it leaves the input
tags disabled still?
$(document).ready(function(){
You'll have to run the whole function block within
$("#show_resolve").click() on load (ie. put it somewhere in
$(document).ready(function(){}).
Make it a seperate function so you can avoid copy/pasting the whole thing
Jonathan
Samuurai wrote:
Hi,
This is my first little foray into JQuery,
6 matches
Mail list logo