Dear all
I am using the JQuery and Javascript.I have onclick event ,that calls the javascript function. How to extract the arguments of function_A and function_B in JQuery And Is it Any Best way to do It? I need to Do ajax Call after javascript Click.Is any performance based issue
while using jQueryMy Code
<html>
<head>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script>
$(document).ready(function(){
//here need to extract the Javascript function arguments
var id1=from_javascript_function_A
var id2=from_javascript_function_B
var link1=from_javascript_function_A
var link2=from_javascript_function_B
//
</script>
</head>
<body>
<a href='#' onclick=javascript:function_A('first',1)>link1</a>
<a href='#' onclick=javascript:function_B('second',2)>link2</a>
</body>
</html>