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 :: glua how to call a hook 
Javascript :: javascript html find the largest number among 2 
Javascript :: createelement and set prop attr jquery 
Javascript :: json schema script 
Javascript :: npm ERR! code EBADPLATFORM stylint 
Javascript :: creat checkbox and append it to a list js 
Javascript :: isnumber javascript function 
Javascript :: react-map-multidimensional-array 
Javascript :: javascript map array values to single vars 
Javascript :: fcctest cdn reactjs setup 
Javascript :: how to get json data from url python flask get column 
Javascript :: redux how does dispatch know which reducer to call 
Javascript :: play 2 audio react 
Javascript :: Search products by includes in javascript 
Javascript :: import js with vite ts 
Javascript :: char code to string javascript 
Javascript :: tictactoe - javascript 
Javascript :: FTP upload local file 
Javascript :: react router 6 redirect 
Javascript :: how to write in uft-8 in write json file python 
Javascript :: how to send data from form with post axios in nuxt 
Javascript :: javascript sizeof array 
Javascript :: error while updating linecap of a view polyline react-native-maps 
Javascript :: using fetch hook 
Javascript :: One component overlapping on other in react.js app 
Javascript :: where to make the hooks functions 
Javascript :: append to a div and save the previous data after refresh page in javascript 
Javascript :: how to check null and undefined 
Javascript :: how to load image in hbs document 
Javascript :: action creators in redux 
ADD CONTENT
Topic
Content
Source link
Name
2+1 =