Welcome aboard! We are happy you are here and wish you good net-raft!
<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js "></script>
<script>
$(document).ready(function(){
var myLang = {
lang: "jQuery",
side: "client",
test: function(){
$("p").after("Lang: " + this.lang + "<br> Side: " + this.side);
}
};
$("button").click($.proxy(myLang, "test"));
});
</script>
</head>
<body>
<button>Click</button>
<p></p>
</body>
</html>
The most helpful JQUERY solutions
plugin get client ip address using jqueryJQUERY Click to see more ... 10.4K 1.8K