[jQuery] jCarousel

2008-12-25 Thread Tony
Is it possible to add active state to the pagination? If so I would I do this? Thank you.

[jQuery] Resolving MasterPage ClientId Issue in jQuery

2008-12-25 Thread Darkthread
When you use MasterPage in ASP.NET, the webcontrol's clientid will be added with prefix of its container. TextBox1 will be rendered as , the id becomes ctl00_ContentPlaceHolder1_TextBox1, but not TextBox1, so you can't simply use $("#TextBox1") to find it. Here is my idea to resolve this issue w

[jQuery] Re: Merry Xmass

2008-12-25 Thread Nikola
God Peace Christ is born! Merry Christmas from America to all!

[jQuery] Re: Merry Xmass

2008-12-25 Thread Praveen
Wish you all merry christmas from India On Dec 24, 10:22 pm, "Yesaya handoyo" wrote: > Merry christmas to all of you from indonesia...May the born of our Lord > Jesus Christ brings us to know Him more...

[jQuery] Handling client side generated controls using jquery

2008-12-25 Thread Vishnu Kiran Reddy Goluguri
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 : $(document).ready(function() { //

[jQuery] Re: Getting JSON object out of $.getJSON function

2008-12-25 Thread yutt
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" wrote: > Great, so here's a way you could code it: > >     $.getJSON( 'example.js', function( json ) { >         $('a.item').each( function()

[jQuery] Re: image tag xhtml validate

2008-12-25 Thread Klaus Hartl
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 wrote: > 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

[jQuery] Re: how to create a Firefox Extension using jquery

2008-12-25 Thread climber
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 wrote: > someone please reply dear..plz help > > On Wed, Dec 10, 2008 at 10:06 AM, AbhishEk wrote: > > i was t

[jQuery] Re: Ajax.Form() fire onchange of elements

2008-12-25 Thread Karl Rudd
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.

[jQuery] Re: getJSON invalid label

2008-12-25 Thread Karl Rudd
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: "jso

[jQuery] Re: How to split this?

2008-12-25 Thread Michael Geary
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('/'); $( '#' + values[0]

[jQuery] Re: Adding scope support to .bind()

2008-12-25 Thread Eduardo Lundgren
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 go

[jQuery] Request for note added to doc for ready()

2008-12-25 Thread Darren
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

[jQuery] Re: Adding scope support to .bind()

2008-12-25 Thread Balazs Endresz
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 patter

[jQuery] Re: getJSON invalid label

2008-12-25 Thread mark
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=main&appid=myappid&format=json&callback=? with http://us.music.yahooapis.com/artist/v1/list/published/popular?respon

[jQuery] malformed url with getJSON

2008-12-25 Thread mark
I am using the following code to access the Yahoo Music API: $.getJSON("http://us.music.yahooapis.com/artist/v1/list/ published/popular? response=main&appid=myappid&format=json&callback=?",function(json) {alert(json);}); and it generates the following url: http://us.music.yahooapis.com/ar

[jQuery] image tag xhtml validate

2008-12-25 Thread Saledan
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 .. and not ... is there a solution to have all in xhtml format? thanks bye max

[jQuery] Re: Adding scope support to .bind()

2008-12-25 Thread Ariel Flesler
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 wrote: > 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 l

[jQuery] Re: working in FF but not in IE

2008-12-25 Thread Althalos
http://uf.ekdahlproduction.com/itsvintage2/ On 24 Dec, 15:46, "Rick Faircloth" 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, December 24,

[jQuery] Re: Adding scope support to .bind()

2008-12-25 Thread Eduardo Lundgren
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 wi

[jQuery] Re: How to split this?

2008-12-25 Thread Kristaps
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;i 0) { letters = nodes[i].split("/");

[jQuery] problem with submit event

2008-12-25 Thread Kristaps
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 l

[jQuery] How to split this?

2008-12-25 Thread BroOf
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

[jQuery] Re: unable to access desired elements.

2008-12-25 Thread Mauricio (Maujor) Samy Silva
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(''); }); Maurício Please have a look at: http://docs.jquery.com/Manipulation -Mensagem Original- De: "converging ra

[jQuery] Re: jQuery help

2008-12-25 Thread errant
Try this one: $('#photo' + photo.id).click(function() { $('#photo' + photo.id).css('border-color','#777'); }); On 25 дек, 01:17, adam 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 ) > the id's of t

[jQuery] unable to access desired elements.

2008-12-25 Thread converging rails
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. Now I would like to add a div tag after e

[jQuery] Ajax.Form() fire onchange of elements

2008-12-25 Thread dedian
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:

[jQuery] Ajax.Form() fire onchange of elements

2008-12-25 Thread ERP Evaluierungs leitfaden
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 bask

[jQuery] Re: question

2008-12-25 Thread Dirceu Barquette
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 > I must have bee

[jQuery] file browser jQuery plugin?

2008-12-25 Thread Girish Venkatachalam
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? T

[jQuery] Re: Adding scope support to .bind()

2008-12-25 Thread Balazs Endresz
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,

[jQuery] Re: validate plugin with one element

2008-12-25 Thread Jörn Zaefferer
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 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 that element. T

[jQuery] Re: jQuery help

2008-12-25 Thread Mauricio (Maujor) Samy Silva
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" Para: "jQ

[jQuery] Adding scope support to .bind()

2008-12-25 Thread Eduardo Lundgren
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 e