Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , , , , ,

Sponsored Links



Javascript not working in any browser

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 08-03-2010
Member
 
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.
Reply With Quote
  #2  
Old 08-03-2010
Praetor's Avatar
Member
 
Join Date: Apr 2008
Posts: 1,937
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.
Reply With Quote
  #3  
Old 08-03-2010
Member
 
Join Date: May 2008
Posts: 1,990
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.
Reply With Quote
  #4  
Old 08-03-2010
kelfro's Avatar
Member
 
Join Date: Apr 2008
Posts: 1,976
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.
Reply With Quote
  #5  
Old 08-03-2010
Zecho's Avatar
Member
 
Join Date: May 2008
Posts: 2,267
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');
Reply With Quote
  #6  
Old 09-03-2010
Member
 
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
Reply With Quote
Reply

  TechArena Community > Software > Software Development


Thread Tools Search this Thread
Search this Thread:

Advanced Search


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


All times are GMT +5.5. The time now is 11:11 AM.