On Dec 15, 2:34 pm, kenyabob andy.skogr...@gmail.com wrote:
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?
First thing I see is that you're not passing a function
Thanks so much. I am still getting used to some of this stuff, and
you're explanation makes sense, and your solution works as well, so
thanks!
On Dec 15, 12:41 pm, Scott Sauyet scott.sau...@gmail.com wrote:
On Dec 15, 2:34 pm, kenyabob andy.skogr...@gmail.com wrote:
I think your confusing something.
If you want to call a function with certain arguments from an array
you do:
var args = [ 1, 2, 3 ];
var sum = function( a, b, c ) { return a + b + c; };
sum.apply(this, args); // -- 6
If you want to create a function and specify the named arguments with
an
you can do it, but this is a usual dom object, not a jquery
instance... simple pass the object to through Jquery like ref =
JQuery(ref);
On 9 Mai, 15:32, mac.gill [EMAIL PROTECTED] wrote:
Can i pass 'this' to a custom function from an event handler
eg.
$('p').('click',function() {
Sorry for double post...
Thanks , simple and works! I've almost no knowledge of javascrpit but
jquery is very powerful and intuitive...i'm trying to make a sort of
horizontal menu with incorporated a slide for navigate to left and
right...it's essentially a trivial thing but if i can make
Declare the variable in the same scope as each of those functions is
declared. For example:
$(function() {
var pointX;
$(.nav_slider).mousemove(function(e) { ... // set pointX here ... });
$(document).scroll(function() { ...// use pointX here... });
});
- Richard
Richard D. Worth
hello... please help me... :)
thx u..
2007/12/4, Linspirell [EMAIL PROTECTED]:
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
Instead of building a new system entirely use what you have already
use progressive enhancement.
You have delete buttons, with specific names that correspond with
the news items. When they're clicked they submit to a specific URL.
What you can do is catch the click and do the submit via AJAX.
8 matches
Mail list logo