Jump to content

list with images

Recommended Posts

read the comment$(this).attr("href", "java script:void(0)"); //IMPORTANT remove space between java and script, forum put in a space when posting

every time i type $(this).attr("href", "java script:void(0)"); with javascript as one word, it ends up with a space between java and script, damn! done it again!

the word javascript is split into two separate words when inserting into code tags.Edit: you also have an error, won't make any difference to the running of javascript, but needs to be corrected.<div id"showprod">should be<div id="showprod">

Edited by dsonesuk
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...