Results 1 to 2 of 2

Thread: javascript problem

  1. #1
    Join Date
    May 2011
    Posts
    120
    Thanks
    33
    Qt products
    Qt4
    Platforms
    Windows

    Default javascript problem

    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

  2. #2
    Join Date
    Oct 2010
    Location
    Berlin, Germany
    Posts
    358
    Thanks
    18
    Thanked 68 Times in 66 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: javascript problem


Similar Threads

  1. QWebView JavaScript problem with ASP.NET menus
    By EgorSharin in forum Newbie
    Replies: 1
    Last Post: 15th February 2011, 07:33
  2. Help with QML, JavaScript and C++
    By chetu1984 in forum Qt Quick
    Replies: 5
    Last Post: 14th February 2011, 22:42
  3. Replies: 9
    Last Post: 29th November 2010, 12:12
  4. javascript problem
    By bmn in forum Qt Programming
    Replies: 1
    Last Post: 24th August 2009, 13:40
  5. Javascript
    By ale301168 in forum Qt Programming
    Replies: 0
    Last Post: 6th September 2008, 23:23

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.