foo() function (with proper parameter) using
jQuery?
Thanks for any recommendation/comment.
Thierry
un 9, 5:10 pm, waseem sabjee wrote:
> check this link
>
> $("#mytextbox").keyup(function(event){
> if (event.keyCode == 27) {
> $(this).attr({ value:"Escape" });
> }
>
>
>
> });
> On Tue, Jun 9, 2009 at 8:59 PM, Thierry wrote:
>
I am currently following the image popup example from:
http://yensdesign.com/2008/09/how-to-create-a-stunning-and-smooth-popup-using-jquery/
The demo is at:
http://yensdesign.com/tutorials/popupjquery/
If I run the demo on Windows XP on Chrome or Safari, the escape key
doesn't close the popup wi
Right now, I'm using jQuery's ajax like the following:
function hello_world(param1, param2, param3, param4)
{
$.ajax(
{
type: 'POST',
url: 'foo.php',
dataType: 'html',
data: 'param1=' + param1 + '¶m2=' + param2 + '¶m3=' +
param3 + '¶m4=' + param4,
I currently have the following legacy piece of html:
The above probably doesn't look too elegant but can someone suggest to
me the best way to initialize this.form.action in jQuery?
I rushed a bit in writing the html, the id should correspond to the
table and not the tr. The is("button") didn't work but is("input") is
getting what I wanted, thanks for the help.
On Apr 2, 5:55 pm, "Richard D. Worth" wrote:
> On Thu, Apr 2, 2009 at 4:1
input button.
On Apr 2, 4:41 pm, Eric Garside wrote:
> $('button', $('#world tr').click(function(){
> // Do stuff for #world tr onclick
> })).click(function(e){
> e.stopImmediatePropagation();
> return true;
>
> });
>
> On Apr 2
I have the following structure for tr:
I also have the following javascript:
$("#world tr").click(function() {
// do stuffs
});
Is there a way to prevent the above event from triggering when the
hello button is clicked?
I can disable button with specific id with the following code:
jQuery("#click_me:button").attr("disabled", "true");
If I want to re-enable the button, the following doesn't work:
jQuery("#click_me:button").attr("disabled", "false");
Does anyone know what I'm missing?
I have a series of checkboxes with class="the_checkbox". I can get
all checkboxes by classname and manually loop through each to find out
the checked ones. I'm wondering if I can get an array of checkboxes
that have been checked with one line of jQuery?
For the following code:
$(document).ready(function()
{
$('.approve').click(function() {
alert($('.approve').prev().val());
});
});
Each time I click on any of the button, it's returning me 1. What
should I change in my javascript code to get the pr
Great, that helps but I think I'll do it from the server side code,
the web page loads much faster when the operation is done on the
server side.
On Mar 20, 12:58 pm, Charlie Griefer
wrote:
> On Fri, Mar 20, 2009 at 9:48 AM, Thierry wrote:
>
> > I have a bunch of hype
I have a bunch of hyperlinks with class 'hello_world'. I want to
assign each one of them a random colour. I can set the colour for all
of them with the following:
$("a[class=hello_world]").css("color", "red");
How can I iterate over every element with class name 'hello_world'?
I have the following piece of code which checks if a user has pressed
the Enter key in a text input with id="text_input" and then performs
some action:
$(document).ready(function()
{
$("#text_input").keyup(function(e)
{
// Checks if the Enter key was entered
if(e.keyCode == 13)
I have the following piece of code which checks if a user has pressed
the Enter key in a text input with id="text_input" and then performs
some action:
$(document).ready(function()
{
$("#text_input").keyup(function(e)
{
// Checks if the Enter key was entered
if(e.keyCode == 13)
p is beginning, the GIF
image is frozen :-(
Thanks for any idea,
Thierry
My bad. I found it. For anyone having the same issue, selectFirst
(false) option is the one to use.
On Nov 19, 4:42 pm, thierry <[EMAIL PROTECTED]> wrote:
> Hi guys,
>
> I have a search input with an autocomplete to help find items, but
> this search can also search partia
n the value with the first found term.
Is that possible?
Thank you,
Thierry
Yes exactly... can't believe I didn't see it. Thank you Jorn.
On Nov 15, 5:37 am, "Jörn Zaefferer" <[EMAIL PROTECTED]>
wrote:
> You're looking for this,
> right?http://docs.jquery.com/Plugins/Autocomplete/autocomplete#url_or_datao...
>
> Jörn
>
>
Hey guys,
I hope it's just I can't find it anymore, but where's the (complete)
doc on autocomplete? The plugin page on jQuery seems pretty light
(http://docs.jquery.com/Plugins/Autocomplete), and the official page
redirects to this new jQuery page.
If I remember correctly, there was a list of al
I'm honored, Mike! Thanks also for the minor but well-needed
improvements to the code.
Now here's another, probably more useful, version:
- the slide URLs are registered directly from the DOM
- the img nodes are removed from the DOM (except for the first 2)
- the slideshow is launched with 2 slid
Hi Mike,
Thanks a lot for your help (and your great plugin, needless to say !)
Meanwhile I've also tried my hand at some code and come to what seems
to be a valid solution. It relies on image preload - slides are added
to the Cycle "randomly" depending on the order in which they are
pulled from
Hello,
A previous discussion here (http://groups.google.fr/group/jquery-en/
browse_thread/thread/319177a5a9bb22a9/01b7544ac7203748) and a recent
addition the to the Cycle plugin (see
http://www.malsup.com/jquery/cycle/add.html)
makes me think that creating JQuery+Cycle slideshows with progressive
cument).show();
>
> $("#loading_div", top.content.document).hide();
>
> See
>
> http://docs.jquery.com/Core/jQuery#expressioncontext
>
> for more info.
>
> - Richard
>
> On Thu, Feb 21, 2008 at 11:03 AM, Thierry <[EMAIL PROTECTED]> wrote:
>
&g
Nobody have a suggestion for this??
On Feb 19, 10:52 am, Thierry <[EMAIL PROTECTED]> wrote:
> I,
>
> Is there an easy way to reproduce the following using only jquery?
> I am trying to hide and show an element in a specificframefrom
> anotherframe.
> This code is actu
Hello,
I would like to create a weekly calendar where people can select one
day, or more.
I would like it to work a bit like outlook.
So when someone selects a day, it should be possible to resize the
selection to include more days.
Problem is that the resize should "snap" to a day, so that it i
Hi jQuery group,
The simple piece of code below is designed to highlight table cells
whose class name is that of the currently hovered one (to visually
group them). In my example the class name itself is film + id (film1,
film2, etc) so I use the [attribute^=value] selector. OK to that
point, but
hey, im new to jquery, and im wondering what this does:
this.node.get(this[0]).onreadystatechange = function ()
somehow, google groups missed my first post on this
I'm new to jQuery and i cant figure out what this does:
node.get(0).onreadystatechange = function () {
29 matches
Mail list logo