wwood
Sent: Tuesday, December 22, 2009 2:28 PM
To: jquery-en@googlegroups.com
Subject: Re: [jQuery] passing variables to JQuery
(function($){
var defaults = {
button: '#buttonId',
form: '#formId',
target:
(function($){
var defaults = {
button: '#buttonId',
form: '#formId',
target: '#targetId',
url:'/change/me',
page: '/change/me/too',
};
clickToLoad = function( options ) {
var o = $.extend({},defaults,optio
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",
Hi,
I'm using this code:
jQuery('#sendemail').click(function() {
// update the block message
jQuery.blockUI({ message: "Remote call in progress..." });
jQuery.ajax({
type: 'POST',
url: 'emaildocument.php',
4 matches
Mail list logo