Hi guys,
The .bind() method consider the scope of the handler the element whose the
event is assigned - that is the correct as default.
I've been playing with the event.js and implemented an alternative to call
.bind(), specifying another scope, that looks useful for our api.
I've attached the
1-) Check the sintax for
$('#photo'+photo['id']+'') have a closest look on single and double quotes.
2-) If photo['id'] is the form photo239839
then
$('#photo'+photo['id']+'') is equal to #photophoto239839
Try $(# + photo['id'])
Maurício
-Mensagem Original-
De: adam
Hi, I think this would be really useful! I've also modified jQuery to
do this a while ago (1.2.6) but with the new scope being the last
argument, so it works without the data object as well:
jQuery.fn.bind=function( type, data, fn, bind ) {
return type == unload ? this.one(type,
The remote method handles the resubmit. To find the actual issue here,
I'd need a complete testpage.
Jörn
On Wed, Dec 24, 2008 at 3:54 PM, eben e...@bakedbean.net wrote:
I have a simple form with one select list as it's element. I am using
the validate plugin to do remote ajax validation on
Hello friends,
Is it possible to create a directory view with jQuery and Ajax?
I find a few plugins in repository but they use PHP and I cannot get
them to work.
I want a Perl or Python CGI script to generate the directory structure
and use jQuery to display it in the browser.
How to do it?
Hi Mike,
Fantastic!!! This is very very good!!!
I'll publish this CMS at sourceforge soon, and if you agree your name will
be appear in special thanks. Ok? This is the most important contribution
form my project.
Thank you very much!
Dirceu Barquette
2008/12/24 Michael Geary m...@mg.to
I
Hi
I started with jQuery 3 days ago, was using Prototype before.
My problem right now is AjaxForm()
It works perfect but just if the user clicks submit.
Is it also possible to fire the form to the server if one
of the Values changes??
For example:
I'm working on something like a shopping
Hi
I started with jQuery 3 days ago, was using Prototype before, I really like
the design of it.
My problem right now is AjaxForm()
It works perfect but just if the user clicks submit.
Is it also possible to fire the form to the server if one
of the values (field) changes??
For example:
Hi all,
I am very much a stranger to jQuery using it for the first
time in my application.
I have a DOM from which I need to access all the form submit buttons
after the page loads and need to append a div element after each
submit element.
input type=submit value=submit1
input
Try this one:
$('#photo' + photo.id).click(function() {
$('#photo' + photo.id).css('border-color','#777');
});
On 25 дек, 01:17, adam abreck...@gmail.com wrote:
I'm trying to change the border color of an image using it's id with
jquery
( photo['id'] is passed in from a previous function
As you want insert a div element after a submit element you must use the
method after() like so:
$(document).ready(function(){
jQuery(input[type='submit']).after('div class=my-class/div');
});
Maurício
Please have a look at: http://docs.jquery.com/Manipulation
-Mensagem
Hey all! I build a function that creates a string with some
informations. This is the structure:
1/17/52;2/283/-2;3/475/492;4/180/625;5/272/790;
looks a little bit confusion but it's really simple. The first letter/
number (1) is the ID of an Div. the second number (17) is it's Y
coordinate and
Hello, i would like to trigger submit event for a form when select
option in select box is changed. I also would like to submit the form
when the submit button is pressed.
The problem is that javascript submit event is not working when there
is a submit button. When I remove it everything works
if i understood right what you want, then something like this:
var mystring = 1/17/52;2/283/-2;3/475/492;4/180/625;5/272/790;;
var nodes = mystring.split(;);
var letters = '';
for(i=0;inodes.length;i++)
{
if(nodes[i].length 0)
Hi Balazs,
Thanks for give us your opinion.
When you use $.isFunction(data) on the bind method it is very expensive when
you have a lot of iterations.
Diff the file I attached with the original file (rev. 5996) I made only a
small change on the bind() method, and it's compatible with data and
http://uf.ekdahlproduction.com/itsvintage2/
On 24 Dec, 15:46, Rick Faircloth r...@whitestonemedia.com wrote:
I'd like to take a peek...what's the URL?
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Althalos
Sent: Wednesday,
Note that isFunction is much faster now. It has been improved 3 times
between 1.2.6 and 1.3b.
On Thu, Dec 25, 2008 at 4:06 PM, Eduardo Lundgren eduardolundg...@gmail.com
wrote:
Hi Balazs,
Thanks for give us your opinion.
When you use $.isFunction(data) on the bind method it is very
Hi,
just a question about xhtml validation.
I have an xhtml page and it has been validate.
Now i add with .append some image, i suppose that the img tag is in
html and not xhtml .. img ... and not img ... /... is there a
solution to have all in xhtml format?
thanks
bye
max
I am using the following code to access the Yahoo Music API:
$.getJSON(http://us.music.yahooapis.com/artist/v1/list/
published/popular?
response=mainappid=myappidformat=jsoncallback=?,function(json)
{alert(json);});
and it generates the following url:
jrutter,
I am having a similar issue with the Yahoo music api. In my case
jQuery is replacing the url:
http://us.music.yahooapis.com/artist/v1/list/published/popular?response=mainappid=myappidformat=jsoncallback=?
with
True, but the new isFunction is a couple of times faster than the old
one, though it's still many times faster to directly call
Object.prototype.toString, which is far below 0.001ms. But as the
callback function is the last parameter everywhere in jQuery it might
be confusing to change this
Please can a note be added to the doc for ready() wrt the bug in
Safari that div widths can be reported incorrectly if external
stylesheet is included after jquery.js.
Please see http://dev.jquery.com/ticket/3690
Thanks,
Darren
The isFunction is faster now but still has more coast that when you don't
need to call it.
We should keep the handler as the last parameter to fit with the jQuery API,
the change is compatible with it.
$('div').bind('click', {data: true}, scope, *scope.internalHandler*);
Scoping events is a
My take on it would be similar to Kristaps', with a couple of differences:
var string = '1/17/52;2/283/-2;3/475/492;4/180/625;5/272/790;'
var groups = string.split(';');
for( var i = -1, group; group = groups[++i]; ) {
var values = group.split('/');
$( '#' +
That's probably the cache buster parameter (added mostly for
Internet Explorer's benefit).
Use the $.ajax( { /* options */ } ); function (
http://docs.jquery.com/Ajax/jQuery.ajax#options ) and add cache: false
to the options. Like so:
$(form).submit(function() {
$.ajax({
dataType: jsonp,
Errr I've not heard of AjaxForm(), there's an ajaxForm() method in
Mike's Form plugin ( http://plugins.jquery.com/project/form ).
If the Form plugin is the one you're referring too then you could
bind a function that calls the ajaxSubmit() function to the change
event of a form element. For
try this:
var doc = window.getBrowser().selectedBrowser.contentDocument;
then you can use jquery selectors like:
$(a, doc).click(function() {
...
});
On 12月10日, 上午5时54分, AbhishEk mithuabh...@gmail.com wrote:
someone please reply dear..plz help
On Wed, Dec 10, 2008 at 10:06 AM, AbhishEk
Well, as long as you serve your so called XHTML as text/html it is
HTML anyway, thus no need to worry about a thing.
--Klaus
On 25 Dez., 18:48, Saledan bastil...@gmail.com wrote:
Hi,
just a question about xhtml validation.
I have an xhtml page and it has been validate.
Now i add with
Awesome, that's exactly what I needed. I should have thought of that.
Thank you very much for all of your assistance!
On Dec 24, 2:48 pm, Michael Geary m...@mg.to wrote:
Great, so here's a way you could code it:
$.getJSON( 'example.js', function( json ) {
$('a.item').each(
Hi,
I am new to Jquery and i am very much enjoying in learning the
new concepts of Jquery. Today, when i am learning i faced a situation
for which i need some help.
The following is the code snippet which i created :
head
title/title
script type=text/javascript
Wish you all merry christmas from India
On Dec 24, 10:22 pm, Yesaya handoyo yongha...@gmail.com wrote:
Merry christmas to all of you from indonesia...May the born of our Lord
Jesus Christ brings us to know Him more...
God Peace Christ is born! Merry Christmas from America to all!
When you use MasterPage in ASP.NET, the webcontrol's clientid will be
added with prefix of its container. TextBox1 will be rendered as
input name=ctl00$ContentPlaceHolder1$TextBox1 type=text
id=ctl00_ContentPlaceHolder1_TextBox1 /, the id becomes
ctl00_ContentPlaceHolder1_TextBox1, but not
Is it possible to add active state to the pagination? If so I would I
do this? Thank you.
34 matches
Mail list logo