[jQuery] Passing parameters to a function with a click event

2009-12-15 Thread kenyabob
http://pastebin.com/m6cd05daa I am trying to call a function and pass parameters regarding the button that called the function. This doesn't seem to do it. What am I missing?

[jQuery] passing next prev through function

2009-05-13 Thread Gijsie
hello, i'm building a portfolio page and i'm trying to pass next or prev through this function to pass the direction. does anyone know how to do this? I already tried passing next and prev and filling them in the right position in the function. this is what i have already: function

[jQuery] passing parameters to new Function as array... possible?

2008-07-17 Thread jquertil
its really a javascript question... The 3 parameters var1, var2, var3 that are used my my new Function - I'd like to be able to do this using an array. After an hour on the web I haven't been able to find a way... var fn = new Function( 'var1','var2','var3', func);

[jQuery] Passing this to a function

2008-05-09 Thread mac.gill
Can i pass 'this' to a custom function from an event handler eg. $('p').('click',function() { myCustomEvent(this); }); myCustomEvent(ref) { //ref Object or JQuery object ? $.get(path_to_cgi,{name = ref.text()},function(data) { alert(Data : + data}); }

[jQuery] Passing variables between two function

2008-04-11 Thread Decagrog
Hi all, I've a newbie question about variable scope...essentially i've two anonimous function and i need to retrieve a variable generated into first function and use it in the second one. Here the basic code to get an idea of what i'm trying... var pointX ;

[jQuery] Passing variables between two function

2008-04-11 Thread Decagrog
Hi all, I've a newbie question about variable scope...essentially i've two anonimous function and i need to retrieve a variable generated into first function and use it in the second one. Here the basic code to get an idea of what i'm trying... var pointX ;

[jQuery] passing parameter to anonymous function ( frameready )

2007-12-03 Thread Linspirell
Hello everyone :) i'am a newcomer here :) i have a problem with using JQuery and frameready plugin. i need to modify dom elemen especially the css. i have a iframe in my main document. this is my javascript code with jquery and frameready plugin function changeColor(evt) { var

[jQuery] passing arguments to javascript function with php

2007-07-19 Thread bytte
I'm starting out with jQuery, and as I was trying to implement jQuery in a simple CMS I made to make the CMS more fancy, I ran into this problem. Say I'm having a news page on my website. The CMS displays all news items that are in the database. The CMS is built using PHP and MySql. So on that