im trying to recreate the javascript on this page,
http://mobstars.ultimateadds.net/index. ... d=94072068
i have my own site similar to that, but i cannot get my javascript to work like theres,
to see what i mean, you must try to click "ENTER " and find its disabled,
until you've cliked all the add buttons,
i have been trying to get this to work for the past 3 days, wasted over 40 hours of my life=/
could someone help me out?
PHP or Javascript... can you help me
Moderator: General Moderators
-
robertbarzyk
- Forum Newbie
- Posts: 19
- Joined: Tue Oct 06, 2009 4:12 pm
-
sr_umasankar
- Forum Newbie
- Posts: 2
- Joined: Wed Oct 07, 2009 1:03 am
Re: PHP or Javascript... can you help me
Hi,
Using Javascript : you can set some counter values for the add buttons, I mean when you click each add button you need to increase the counter value(using hidden box) . Once it is reaches the particular target( counter == no.of add buttons). you will enable the "Enter" key.
PHP : Instead of using "hidden box" you can use "session variables".
All the best!
Using Javascript : you can set some counter values for the add buttons, I mean when you click each add button you need to increase the counter value(using hidden box) . Once it is reaches the particular target( counter == no.of add buttons). you will enable the "Enter" key.
PHP : Instead of using "hidden box" you can use "session variables".
All the best!
Re: PHP or Javascript... can you help me
Do you want the actual html syntax to disable a button and javascript syntax to enable it.
Code: Select all
echo "<input id='MyButton' type='button' value='Click Me' onclick='document.getElementById(\"MyDisabledButton\").disabled = false;document.getElementById(\"MyDisabledButton\").value = \"Enabled\"' />";
echo "<input id='MyDisabledButton' type='button' value='Disabled' disabled='true'/>";
Re: PHP or Javascript... can you help me
Why exactly does the link to that page need to contain a referral id? Looks like spam to me...