Using JQuery within onClick
try this (you'll need an id on the anchor tag):
<a onclick="my_save_function(this.id);">
and in your javascript:
function my_save_function(elid){
v = $("#"+elid).val();
// do stuff with v
}
Sure. jQuery doesn't exist in any special universe; it's just a collection of JavaScript functions that you might find (extraordinarily) useful.
However, if you're using jQuery anyway, why not properly attach the onclick event from within jQuery? You'd just have to do:
$(document).ready(function() {
$("#id-for-that-link").click(function() {
my_save_function($("#inputID").val());
});
});