-2

example:

if(login()) {

// jQuery to change CSS attribute from hidden to visible

}

I want to present the user with a input form if logged in, otherwise they don't see the form.

Thanks,

Jonas
  • 121,568
  • 97
  • 310
  • 388

1 Answers1

0

Check out jQuery hide()

if(login()) {

        $('#inputthing').show();

    } else {

        $('#inputthing').hide();
    }
Darren
  • 13,050
  • 4
  • 41
  • 79