Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

jquery to javascript converter online

// this worked for me
https://www.workversatile.com/jquery-to-javascript-converter/
Comment

code convert java script to jQuery

<!DOCTYPE html>
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script>
$(document).ready(function(){
    var element = $("#tgtP");
    var a = element.text();
    var b="";
    element.click(function(){
       for (i = 0; i < a.length; i++)
       {
          if (a.charCodeAt(i) >= 65 && a.charCodeAt(i) <= 90)
           {
                 b = b + a.charAt(i).toLowerCase();
           }
          else
           {
                 b = b + a.charAt(i).toUpperCase();
           }
           alert(b);
        }
    });
});
</script>
</head>
<body>
<p id="tgtP">aBc dEf ghIK kl</p>
</body>
</html> 
Comment

PREVIOUS NEXT
Code Example
Javascript :: convert promise to generator js 
Javascript :: return array odd or even outlier 
Javascript :: hide header title in react navigation Drawer navigation 
Javascript :: falsy value in javascript 
Javascript :: get day in google app script 
Javascript :: ios ad mobs 
Javascript :: nodejs pub sub redis 
Javascript :: Play Gif or Video On hover Jquery 
Javascript :: node.js sign in to website and get contents of new page 
Javascript :: javascript array negative index 
Javascript :: spread operator shorthand javascript 
Javascript :: if else condition in angular if user enter string value in input integer 
Javascript :: object filter 
Javascript :: javascript replace url on sentence as achor 
Javascript :: JS call url many times 
Javascript :: How display console log in frontend 
Javascript :: javascript one line if without else 
Javascript :: discord.js permission bitfield 
Javascript :: to see all function attribute and methods in javascript 
Javascript :: error 28 mongodb 
Javascript :: code mirror detect change 
Javascript :: js wrap a function pass parameters to function 
Javascript :: typeorm class validator 
Javascript :: setImmediate clearImmediate 
Javascript :: javascript node retry promise.all 
Javascript :: Example of Numeric Separators in es12 
Javascript :: how add element at beginning of array in javascript using splice 
Javascript :: javascript coding test interview 
Javascript :: react native red Oval bubble 
Javascript :: javascript while function is not defined wait 
ADD CONTENT
Topic
Content
Source link
Name
6+5 =