Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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 + "
Status: " + status);
    });
});

// react code here
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jquery #react
ADD COMMENT
Topic
Name
8+9 =