×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Aug 2011
    Posts
    29

    Hi, Why does the 'alert' function (javascript) is not working in device.?

    Hi,

    I have created one sample project, In that ,i have to know the value of the variable, so i alert that variable in javascript .

    Sample are,

    1) alert("Hello");

    2 var value="Hello";
    alert("value:"+value);

    these are not working in web apps .what is the problem of ovi browser.?

  2. #2
    Nokia Developer Expert
    Join Date
    Jun 2008
    Location
    Tampere
    Posts
    833

    Re: Hi, Why does the 'alert' function (javascript) is not working in device.?

    Hi,

    Well that is because of only the command set defined in the MWL are run on the device. Rest of the JavaScript is executed on the proxy server.
    Please see Platrform overview document
    http://www.developer.nokia.com/dp?ur...tform_Overview

    -Ilkka

  3. #3
    Registered User
    Join Date
    Nov 2013
    Posts
    5

    Re: Hi, Why does the 'alert' function (javascript) is not working in device.?

    I am also facing the same issue. what is the best way to so the message on the device. why its is working on emulator.

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,752

    Re: Hi, Why does the 'alert' function (javascript) is not working in device.?

    Quote Originally Posted by som_nitjsr View Post
    I am also facing the same issue. what is the best way to so the message on the device. why its is working on emulator.
    Because the emulator runs JavaScript locally.

Similar Threads

  1. vibartion alert is not working
    By arun09 in forum Symbian
    Replies: 4
    Last Post: 2009-05-11, 08:32
  2. Why CAknDialog is not working in s60 3rd FP1?
    By s_mehdi76 in forum Symbian User Interface
    Replies: 0
    Last Post: 2008-04-14, 06:44
  3. Replies: 2
    Last Post: 2006-03-11, 09:29
  4. why the color is not working if i set uppercase hexa decomal code
    By harikrishnag in forum Browsing and Mark-ups
    Replies: 1
    Last Post: 2002-11-20, 09:03
  5. why the color is not working if i set uppercase hexa decomal code
    By harikrishnag in forum Browsing and Mark-ups
    Replies: 1
    Last Post: 1970-01-01, 02:00

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×