Results 1 to 6 of 6

Thread: Javascript not working in any browser

  1. #1
    Join Date
    Dec 2009
    Posts
    292

    Javascript not working in any browser

    Hello experts,

    I am using windows operating system and working with java script and getting some problem during execution of the codes.whenever,I executes the codes of java script in the browser (Internet explorer,firefox,opera),Didn't display the output of the code.

    What's going on with this ,I am not getting.So please help me with the possible solutions.

    Thanks.

  2. #2
    Join Date
    Apr 2008
    Posts
    1,948

    Javascript not working in any browser

    Hello man !

    Don't worry!!! You are not in so much complex problem.The error can be from different sides and can be from browser,code or system level support.

    You need to do first thing,Just check the code whatever you have written in the notepad.Your code is going wrong somewhere through which the output contents are not showing in the browser.

    The other problem may your setting of the browser which can't not proceed the codes of JavaScript.So you have to enable the option for running JavaScript in the browser.

  3. #3
    Join Date
    May 2008
    Posts
    2,012

    Enabling Firefox to run JavaScript

    Enabling Firefox to run JavaScript

    If you are using mozilla firefox and the JavaScript codes are not being executed and didn't display any output.One of the option in browser which is used for java codes settings,you have to enable it using the provided menus in the browser.To enable the JavaScript execution setting follow the guides -

    1- Click on the Tools menu.
    2- Select Options from the list of menus.
    3- Choose the content tab from the dialog.
    4- Check the option for Enable JavaScript.
    5- Click on OK button to save the changes.

  4. #4
    Join Date
    Apr 2008
    Posts
    2,005

    Enable JavaScript in Internet Explorer

    Enable JavaScript in Internet Explorer

    If you are using Internet explorer and need to execute the JavaScript code but there is no any interaction with the output and you feel to change the settings of the browser for JavaScript compatibility.

    This is the few steps to enable the JavaScript compatibility would be as follows-

    • Click on Tools menu and then select internet options.
    • Select the security option tab from the dialog .
    • Choose the bottom tagged button named Custom Level
    • Now enable the scripting from the list and click OK.

    Now you can use and execute the script language in the Internet Explorer and if not showing result then you can need to edit your code.

  5. #5
    Join Date
    May 2008
    Posts
    2,297

    Flash with Javascript

    Adding flash with JavaScript:

    The JavaScript with capable to execute the flash file.you need to create a flash file and pass the name of the file as a argument in the parenthesis of the event function.

    An example is illustrated here -


    Code:
    function addFlashObj(node, swf) {
    
          var obj = document.createElement('object');
    
          node.appendChild(obj);
    
          var para = document.createElement('param');
     
          para.setAttribute('name', 'movie');
          para.setAttribute('value', swf);
    
          obj.appendChild(para);
     
          obj.setAttribute('data', swf);
    
          obj.setAttribute('type', 'application/x-shockwave-flash');
    
          }
    
           
      12.
          addFlashObj(document.body, 'sample.swf');

  6. #6
    Join Date
    Feb 2010
    Location
    bhagalpur
    Posts
    7

    Re: Javascript not working in any browser

    hey guys.i am facing a problem
    my java script is disabled and i m not able to solve my problem from above helps
    so pls send me another help

Similar Threads

  1. Javascript not working in the browser and getting white screen
    By Everleigh in forum Technology & Internet
    Replies: 3
    Last Post: 29-12-2010, 05:35 PM
  2. Steps to enable javascript in browser
    By Bansi_WADIA in forum Technology & Internet
    Replies: 5
    Last Post: 21-01-2010, 03:59 AM
  3. Javascript For Getting Details Of Visitors Browser
    By samualres in forum Software Development
    Replies: 5
    Last Post: 19-01-2010, 11:50 AM
  4. How to control browser properties with JavaScript?
    By Cisco-s in forum Technology & Internet
    Replies: 3
    Last Post: 16-01-2010, 08:39 PM
  5. Enable or disable JavaScript in your browser
    By jesse in forum Tips & Tweaks
    Replies: 2
    Last Post: 02-12-2008, 06:09 PM

Tags for this Thread

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
  •  
Page generated in 1,713,565,713.29046 seconds with 17 queries