Web Analytics Made Easy -
StatCounter jquery to javascript - CodingForum

Announcement

Collapse
No announcement yet.

jquery to javascript

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • jquery to javascript

    I have a code written in jquery which I have to transform to javascript.
    is there any tool for this or I have to do this manually?
    Please help..

  • #2
    This will be a manual process ... and to be honest: Good luck with that. jQuery includes a lot of stuff that deals with browser dependent behaviour and if you want to transform all of it, that would be a major task. Some of the more general commands might be easily transformable though.

    Example
    Code:
    $('#myelement').attr('src', 'http://www.google.de');
    
    // will become this for all browsers:
    
    document.getElementById('myelement').src = 'http://www.google.de';

    Comment

    Working...
    X
    😀
    🥰
    🤢
    😎
    😡
    👍
    👎