Hi,
I'm pretty new to this ajax, but have been trying to get it to work
with ajax. What I'm trying to do is pass a value to a php script from
a link and return it.
So far, I can do that with the text of the link, but I can't seem to
get how to pass either the string, or the id value
Ok... I figured this one out. You use the animate() function in
jquery. For some real fun, you can download the easing plugin. I
started out by declaring a div called block to have a width of 0px;
Then animate like so:
$(document).ready(function(){
$(#block).animate({ width: 400px },
I am creating graphs with CSS. What I would like to do is animate the
graph... ie, have the div slowly grow from 0 to 75%.
Here is the css I use:
.barbg{
height:17px;
border:1px solid #999;
width:120px;
float:right;
}
.color{
height:17px;
background:url(bgraph_03.gif) repeat-x top;
}
Here is
)});
return false;
});
});
Binds a click event to every anchor, sends urlparam id set to
whatever the anchor id is, you can access is using $_REQUEST[id].
Injects return text (HTML, XML, whatever) into show_results div.
- jake
On 6/15/07, webgodjj [EMAIL PROTECTED] wrote
)});
return false;
});
});
Binds a click event to every anchor, sends urlparam id set to
whatever the anchor id is, you can access is using $_REQUEST[id].
Injects return text (HTML, XML, whatever) into show_results div.
- jake
On 6/15/07, webgodjj [EMAIL PROTECTED] wrote
Hi,
What I want to do:
I have a list of links with id values. Each of these id values get
sent to a remote php file, that is in turn returned to the page.
ie...
a href=index.php id=1
a href=index.php id=2
a href=index.php id=3
div id=show_results
Show formated results here.
/div
6 matches
Mail list logo