PDA

View Full Version : javascript problem



vinayaka
5th September 2011, 12:37
hai all,
In my pjt we can choose difficulty of the game within the first page.
I set a var levelvalue=0 in javascript. when we click each(easy,hard etc) button I changed the levelvalue to 0 nd 1 so on. but when we go to the game page javscript page gets reload, only take value of 0 which is set already; how can i access another button clicks in gamepage using the same javascript.
Can anyone help in this as i really need it to complete my projcet

FelixB
5th September 2011, 12:53
try this: http://tinyurl.com/3qpszvg