I've got a lot of hard coded values in JQuery functions like the one below
$(#getTOByWeek).live(click, function(){
$.ajax({
type:post,
url:webapps/hr/admin/actions/act_adminHR_Handler.cfm,
data:$(#toByWeek).serialize(),
cache:false,
success:
(function($){
var defaults = {
button: '#buttonId',
form: '#formId',
target: '#targetId',
url:'/change/me',
page: '/change/me/too',
};
clickToLoad = function( options ) {
var o =
@googlegroups.com
Subject: Re: [jQuery] passing variables to JQuery
(function($){
var defaults = {
button: '#buttonId',
form: '#formId',
target: '#targetId',
url:'/change/me',
page: '/change/me/too
Hi,
I'm using this code:
jQuery('#sendemail').click(function() {
// update the block message
jQuery.blockUI({ message: h1Remote call in progress.../
h1 });
jQuery.ajax({
type: 'POST',
url: 'emaildocument.php',
4 matches
Mail list logo