Enable JAVASCRIPT dynamically ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • romepatel
    New Member
    • Nov 2009
    • 31

    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
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    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)

    Comment

    • romepatel
      New Member
      • Nov 2009
      • 31

      #3
      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

      Comment

      • Dormilich
        Recognized Expert Expert
        • Aug 2008
        • 8694

        #4
        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.

        Comment

        • romepatel
          New Member
          • Nov 2009
          • 31

          #5
          thanks........
          for your help.......

          I think that should go with your answer......

          Comment

          • Dormilich
            Recognized Expert Expert
            • Aug 2008
            • 8694

            #6
            for some applications you may be able to use the HTML equivalent (e.g. forms) (although that requires a page reload)

            Comment

            • romepatel
              New Member
              • Nov 2009
              • 31

              #7
              Actually am using ajax in my page so i require the javascript functionality

              Comment

              • Dormilich
                Recognized Expert Expert
                • Aug 2008
                • 8694

                #8
                in some cases it is possible, to substitute AJAX by forms or links.

                Comment

                • romepatel
                  New Member
                  • Nov 2009
                  • 31

                  #9
                  can you give an example how we can perform AJAX operation using forms and links........

                  Comment

                  • Dormilich
                    Recognized Expert Expert
                    • Aug 2008
                    • 8694

                    #10
                    my website : press releases
                    ______________

                    Comment

                    • romepatel
                      New Member
                      • Nov 2009
                      • 31

                      #11
                      that website is in some different language....... ..
                      I can't understand it.........
                      can you give me some other example

                      Comment

                      • Dormilich
                        Recognized Expert Expert
                        • Aug 2008
                        • 8694

                        #12
                        Originally posted by romepatel
                        that website is in some different language
                        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 ?

                        Comment

                        Working...