Results 1 to 13 of 13

Thread: Javascript code now working in IE

Threaded View

  1. #1
    Join Date
    Dec 2009

    Javascript code now working in IE


    Does anyone know why this code isn't working in IE?:

    $("#nav li ul li .menu").click(function(){
        for (var image, src, images = document.getElementsByClassName('link'), l=images.length, i=0; i<l; i++){
        image = images[i];
        src = image.src;
        image.src = "images/large" + src.substring(src.lastIndexOf("/"));
    It works in every other browser.
    Last edited by pc_mac; 04-23-2013 at 04:41 AM.

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