head
How To Use JQuery In Python Without Importing New Modules
In this post I am going to show you how you can add jquery to a Python script without adding any new modules. You just need this: #jquery print “<script src=’https://code.jquery.com/jquery-3.5.0.js’></script>” #basic alert box: print “<script>” print “$(document).ready(function(){” print ” // Get value on button click and show alert” print ” $(‘#submit’).click(function(){” print ” alert(‘hello’);” […]