www.webdeveloper.com
Results 1 to 2 of 2

Thread: Functions not responding in Safari

  1. #1
    Join Date
    Jun 2011
    Posts
    1

    Functions not responding in Safari

    Hey Everyone,

    I'm having trouble with an onchange event with a select box. No function is responding. I can alert text out for the onchange event but none of the functions I have called will work.

    Here's the code.

    PHP Code:

    function testfunction() {
        
    alert('test'); 
     }

    <
    select name="account_type" style="width:25%" onchange="testfunction()">
        <
    option selected="selected"></option>
        <
    option>Adjuster Admin</option>
        <
    option>Adjuster</option>
        <
    option>Admin</option>
        <
    option>Employee</option>
       </
    select
    Works in all browsers but Safari. Any thoughts?

  2. #2
    Join Date
    Dec 2010
    Posts
    207
    Please post a full test document or a URL to a live demo.


    Q: I found this code...
    A: Then find its author.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles