Answers for "how to include jquery with reactjs"

1

how to import jquery file in react js

import $ from 'jquery';
Posted by: Guest on August-23-2021
2

jquery in react

import React from 'react';
import ReactDOM from 'react-dom';
import $ from 'jquery';


//   react code here


$("button").click(function(){
    $.get("demo_test.asp", function(data, status){
        alert("Data: " + data + "\nStatus: " + status);
    });
});

// react code here
Posted by: Guest on May-06-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language