Yes it is work actually.
What do you want to do, can you give us a example or detail.
2007/12/17, rsmolkin <[EMAIL PROTECTED]>:
>
>
> Does this actually work? Did you get this to work? I am trying to do
> the exact same thing, so for each link I need to pass 3 parameters to
> by server script.
Does this actually work? Did you get this to work? I am trying to do
the exact same thing, so for each link I need to pass 3 parameters to
by server script.
-Roman
On Dec 4, 6:03 am, Feijó <[EMAIL PROTECTED]> wrote:
> I like to set my own attributes, like that
>
> click here
>
>
> $(document)
@feijo
if we put javascript in href, it wont work when javascript is
disabled.
@Yılmaz
thanks, i was doing something like that, wondering if there's a simple
function that convert 'a=1&b=2' to {'a': 1, 'b': 2}. Not a big deal
but if I know that jquery had already had that function I won't need
to
I'm fairly new to this ajax call and am trying to learn. What do you
usually put in the php file?
Without getting into too much php.
Something like this would work right?
---
Chris
On Dec 4, 12:53 am, dimmex <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm pretty new to jQuery and want to implem
Here is simple solution.
$(document).ready(function() {
$('#item1').click(function() {
// access href attribute of clicked link => process.php?a=1&b=2
var params = $(this).attr("href");
// split href content at ? sign => process.php and a=1&b=2
params = params
I like to set my own attributes, like that
click here
$(document).ready(function() {
$('#item1').click(function() {
$('#result').load('process.php', {a: $(this).attr('a'), b:
$(this).attr('b') });
return false;
});
});
hugs
Feijó
- Original Message -
From: "dimmex" <[EMA
6 matches
Mail list logo