9 years ago
0
Topic

Hello everybody I'm customizing a form, and I am with the following problem.

The button to save I've seen that has this call:

onclick="JCck.Core.submit('apply');return false;"

I wanted to remove it from onclick and place within that jQuery:

$(".btn-success").click(function() { ... });

I've tried this but it gave an integrity error:

$(".btn-success").click(function() { JCck.Core.submit('apply');return false; });

If anyone can help would appreciate.

Thank you all.

Get a VIP membership