473,396 Members | 1,678 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Enable JAVASCRIPT dynamically ?

Hello,

I am using the AJAX in php pages,
so if the javascript of the user browser is disabled, then the AJAX functionality is of no use, and it will scamble my logic.

So i had kept <noscript> in my page, which says that you need to enable javascript in your browser.

Now i want to do it dynamically, i.e in <noscript> i will give a link , by clicking on that link , automatically the javascript of the users browser is enabled.

So what i need to do , so that i can provide this functionality to the user.

So please Help me out
Thanks in advance


Regards
Rome Patel
Nov 12 '09 #1
11 2652
Dormilich
8,658 Expert Mod 8TB
I’m not aware this is possible via link. in the end it’s a browser setting and who wants a browser setting changed by a website? (if you are using Firefox’ noscript Add-on, it’s just a simple click)
Nov 12 '09 #2
Thanks for the reply,

really there is no possible way to do that......?

The advice which you had given , that i have already implemented.
Now I want to do it dynamically .......!!!!

Thanks & Regards
Rome Patel
Nov 12 '09 #3
Dormilich
8,658 Expert Mod 8TB
As you have learned to live with IE, you need to live with people who have JavaScript turned off or not available at all (suppose text browsers like lynx) and if they don’t turn JavaScript on (they may have their reasons) they (and you) have to live with that fact.
Nov 12 '09 #4
thanks........
for your help.......

I think that should go with your answer......
Nov 12 '09 #5
Dormilich
8,658 Expert Mod 8TB
for some applications you may be able to use the HTML equivalent (e.g. forms) (although that requires a page reload)
Nov 12 '09 #6
Actually am using ajax in my page so i require the javascript functionality
Nov 12 '09 #7
Dormilich
8,658 Expert Mod 8TB
in some cases it is possible, to substitute AJAX by forms or links.
Nov 12 '09 #8
can you give an example how we can perform AJAX operation using forms and links........
Nov 12 '09 #9
Dormilich
8,658 Expert Mod 8TB
my website : press releases
______________
Nov 12 '09 #10
that website is in some different language.........
I can't understand it.........
can you give me some other example
Nov 13 '09 #11
Dormilich
8,658 Expert Mod 8TB
@romepatel
guess why…

that doesn’t make the example useless.

there ain’t that much different links and if you click them (even randomly) you should note a difference (esp. when you check the source code) between javascript on/off

btw. 12. Nov. 9:01 UTC ?
Nov 13 '09 #12

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Joe | last post by:
Is there a way to enable scrolling in a modal dialog box even if the call to open the modal has "scroll:no"? I am looking to dynamically size the modal dialog box for starters and if the modal is...
2
by: cotton_gear | last post by:
Hi, Depending on the user input I need to disbale/enable some of the links in my page. When disbled I need to display the links as normal text with cursor changed to mouse pointer style and when...
6
by: Stu Carter | last post by:
Hi, I have an aspx page where some controls are initially disabled by the code-behind 'Page_Load' event. I want these controls to be dynamically enabled when the user checks a checkbox. ...
0
by: talal | last post by:
How to check whether javascript is enable or disable in client browser. Remeber i can check wheter browser client support javascript with BrowserCapability class. But what if the client has disable...
0
by: antonyliu2002 | last post by:
I am moving from Java to ASP .NET. Many .NET stuffs remain new to me. I am wondering if it is possible to dynamically/programmatically enable a validator. Suppose that I have the following in...
5
by: Dennis Fazekas | last post by:
Greetings, I am creating a web form which will all the user to add an unlimited number of email addresses. Basically I have 3 buttons, "Add Another Email", "-" to remove, and a "Save" button....
0
by: anishanc | last post by:
Hai dear I have a sales form that contains a button to create new item, when the item's form is displayed i just disable the sales form. My question is that how can i enable the sales form...
0
by: kpg* | last post by:
Hi all, I have a web service with two similar methods, one for production and one for testing. On the test method I enable session state so I can dump out debug files named with the session...
2
Frinavale
by: Frinavale | last post by:
JavaScript in ASP.NET Using JavaScript in ASP.NET pages can make your application seem to work faster and prevent unnecessary calls to the server. JavaScript can be used to perform client-side...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.