Hiya, i'm looking for a way for users to click a 'sign me up' button which would popup a lightbox where they can input their name and email adres and after they click ok 1. they get sent an email alerting them they signed up 2. i receive an email with their signup information (name and email adres and what they signed up for) and 3. the sign me up button get's replaced with their name. So for each position only one person can sign up. The first one to sign up get's his or her name filled in. I have no real knowledge of javascript or ajax but i assume using different scripts: http://jquery.com/demo/thickbox/ http://orangoo.com/labs/GreyBox/ http://www.nickstakenburg.com/projects/lightview/ i think can manage to do steps 1 and 2, but i have no idea how to do step 3 i assume it can be done through ajax, but i'm just guessing here. Anyone can help me out? or point me in the right direction ?
change name of the button... For example, this is your button: <input type="button" name="my_btn" id="sign_up_btn" value="SUGN UP!"> Code (markup): U want change the caption ("SIGN UP!") on "THIS IS OKAY NOW". Do as following: document.getElementById('sign_up_btn').value = "THIS IS OKAY NOW"; Code (markup):
You can disable the button too so it will be "grayed" and non clickable. document.getElementById('sign_up_btn').disabled = "disabled"; Code (markup): Good luck