[jQuery] Re: Intercept "Back" button click on browser

2008-10-06 Thread Klaus Hartl
History/Remote is not supposed to work that way. Although the hash is changing correctly it will not work in IE for example. You need to explicitly tell the history manager which links add to history. Just have a look at the demo. For pure Ajax loading links that is the remote method. In your case

[jQuery] Tabs and scrollTo()

2008-10-06 Thread Steffan A. Cline
Ok... Getting close here... I have a structure of scrollable divs in ajax ui.tabs ... ... ... Now, I have it set up to scroll to the top of each div: $().ready(function() { $('#tabs > ul').tabs({ fx: { height: 'toggle', opacity: 'toggle' }, load: function () {$('#dialog').jqmA

[jQuery] Re: Ajax Tabs - programmatically change URL

2008-10-06 Thread Steffan A. Cline
on 10/6/08 7:35 PM, Steffan Cline at [EMAIL PROTECTED] wrote: > > on 10/6/08 6:59 PM, Steffan Cline at [EMAIL PROTECTED] wrote: > >> >> I have a calendaring solution where within tabs are different views such as >> day, week, work week and month. I want to make the monthly view's days be >> li

[jQuery] Re: Opacity in IE

2008-10-06 Thread Greg G
Thanks for the help. I do have a Flash version but I wanted to use Javascript. I didn't think of making the .css call instead of reversing the animation. Outstanding! On Oct 6, 4:55 pm, ricardobeat <[EMAIL PROTECTED]> wrote: > Honestly, you should be using flash for this stuff. You'll only get

[jQuery] Re: Disable globals for jQuery.get()?

2008-10-06 Thread Mike Alsup
> But it triggers ajaxStart/ajaxStop... I have tried: > > $.ajax({ >         url: token, >         global: false > > }); Can you post a demo that shows this not working? global: false should prevent the global ajax events from triggering.

[jQuery] Re: Partial load strips out script tags?

2008-10-06 Thread Christopher Ford
Hi, Thanks for the reply, but I don't think that's it. The second argument to .load() is data to be posted to the server. Your version of the call does a full load. In my example "#script" is a jQuery selector. I'm trying to .load() just the "#script" div from the "has_script.htm" page. The call

[jQuery] Re: Processing.js Google Group Now Formed!

2008-10-06 Thread F1LT3R
You may be looking for online apps... but I think you are ahead of the curve here. Don't you feel the browser replacing the deskstop? I too feel like the Processing language is far simpler to implement than the standard Canvas object. Plus... it already has a large user base. ??? On Oct 4, 10:0

[jQuery] Re: Un-minify?

2008-10-06 Thread jeremyBass
Oh I have the source at my office... but yu know late night ideas... anyways thanks for the help... I did find a nice Beautifier... http://elfz.laacz.lv/beautify/ I was just woundering what anyone else thought was a good one or way... Have a great one jeremyBass On Oct 6, 7:49 pm, MorningZ <[

[jQuery] Re: Un-minify?

2008-10-06 Thread MorningZ
Well, depending on what you used to minify, this is going to be a next to impossible task for instance, many will remove whitespace (not that big a deal) and rename variables from meaningful to super-space-saving-simple so depending on your options used to pack with totally determine your abilit

[jQuery] Re: Is it possible to avoid jumpy / disappearing content

2008-10-06 Thread Brandon Aaron
Actually it is located at: http://brandonaaron.net/jquery/snippets/domready/jquery.domready.js :) -- Brandon Aaron On Mon, Oct 6, 2008 at 8:09 PM, Brandon Aaron <[EMAIL PROTECTED]>wrote: > The document ready function in 1.2.6 was updated to wait on styles. This is > a good thing sometimes but ot

[jQuery] Un-minify?

2008-10-06 Thread jeremyBass
Hello, like a dumby in a rush I saved over my non-minfied file... any sugestions on a good "un-minifyer" thanks for the help... jeremyBass

[jQuery] Re: append mailto link to orphan plain text email address

2008-10-06 Thread Ariel Flesler
You can check my "Textnode Translator". I made a simple example where it replaces textual emails. That's just an example of course. I'd not rely on that code as it is. http://flesler.blogspot.com/2008/05/textnode-translator-for-javascript.html Alternatively, you can solve this with this Tokenize

[jQuery] Re: Ajax Tabs - programmatically change URL

2008-10-06 Thread Steffan A. Cline
on 10/6/08 6:59 PM, Steffan Cline at [EMAIL PROTECTED] wrote: > > I have a calendaring solution where within tabs are different views such as > day, week, work week and month. I want to make the monthly view's days be > links to change the view to the day tab and append something to the ajax > u

[jQuery] Pagination and Autocomplete conflict?

2008-10-06 Thread t3k
I can't seem to get the jquery pagination plugin and autocomplete by Yanik Gleyzer to co-exist in the page. I get either autocomplete is not a function or pagination is not a function. Any ideas? Thanks! J

[jQuery] Re: not defined error using instance variable in each callback

2008-10-06 Thread MorningZ
i would take a guess that you are missing that "this" points to two different things inside and outside the ".each" loop which makes sense because you have "this" on the outside, and then loop against "this.children", so inside the loop "this" actually is the "nth child of this" see if this.ch

[jQuery] The Accordion Experience

2008-10-06 Thread Vlad Didenko
While at the TAE in Boston, I have tried to use the accordion widget "on the spot" to organize my conference notes. I have looked up the Accordion documentation and put the code together. It did not work. After a brief conversation with Richard Worth (thank you!) it turned out that I did not read

[jQuery] Ajax Tabs - programmatically change URL

2008-10-06 Thread Steffan A. Cline
I have a calendaring solution where within tabs are different views such as day, week, work week and month. I want to make the monthly view's days be links to change the view to the day tab and append something to the ajax url. For example: In month view, the user clicks on October 3. A link exe

[jQuery] Re: jQuery Truncating Help

2008-10-06 Thread Dave Methvin
What does your markup look like? You might be able to come up with a simple solution for that case, rather than using the plugin.

[jQuery] Re: Chicago JavaScript Meetup

2008-10-06 Thread Vlad Didenko
Justin, Thank you for the message, I did not think posting here. Looks like at the first meeting we will be talking about the TAE and jQuery conferences in Boston - sharing inpressinos and filling-in those unfortunate to miss it. Hope to see you there! Vlad. On Oct 6, 12:28 pm, Justin Meyer <

[jQuery] Add new elements to a page but can't access existing js

2008-10-06 Thread andrew
Hi I'm pretty new to jquery and I've basically got a form which allows you to add additional fields and take them away, I've got it adding and removing any fields that are there when the page loads but any that are added after that the controls don't do anything. I've got each form element like

[jQuery] Re: Is it possible to avoid jumpy / disappearing content

2008-10-06 Thread Brandon Aaron
The document ready function in 1.2.6 was updated to wait on styles. This is a good thing sometimes but other times it causes said flickers. On a few recent projects I packaged up the old ready function as domready so that I could avoid the flickers. You can find the code here: http://brandonaaron.n

[jQuery] Re: Is it possible to avoid jumpy / disappearing content

2008-10-06 Thread John D.
I too am looking for an accessible solution as I've run into this same problem using the following: $(document).ready(function() { $('p.firstparagraph').hide() $('#hideh1').click(function(){ $('p.firstparagraph').hide(200); }); $('#showh1').click(function(){ $('p.firstparagr

[jQuery] Re: Is it possible to avoid jumpy / disappearing content

2008-10-06 Thread John D.
Hi, I've been running into the same problem with the following: $(document).ready(function() { $('p.firstparagraph').hide() $('#hideh1').click(function(){ $('p.firstparagraph').hide(200); }); $('#showh1').click(function(){ $('p.firstparagraph').show(200); }); }); p.fi

[jQuery] Re: $().each() only iterates through first item

2008-10-06 Thread ajpiano
$(".is_preferred_email").each(function() { $(this).attr("checked","checked"); }); On Oct 6, 8:14 pm, Dave Methvin <[EMAIL PROTECTED]> wrote: > > Actually, I tried both of those things first - should have mentioned > > that.  It was only after I got three elements doing > > alert($j(".is_preferred

[jQuery] Re: not defined error using instance variable in each callback

2008-10-06 Thread Michael Geary
That's right, the mistaken use of "this" is the problem - one of them anyway - but that solution won't work (what is the "parent" property of a DOM element?). Another problem is the misuse of "push" - it's a method, not a property you can store into. (You *can* store into the "push" property - as

[jQuery] Re: $().each() only iterates through first item

2008-10-06 Thread Dave Methvin
> Actually, I tried both of those things first - should have mentioned > that.  It was only after I got three elements doing > alert($j(".is_preferred_email")) that I switched to using the index. Looking at your markup, it seems like it should return three elements. I don't see a problem there.

[jQuery] Re: Poor Performing jQuery .each()

2008-10-06 Thread Michael Geary
Is there any possibility that you can get JSON data instead of XML? It will be *much* faster. If not, then we can talk about how to optimize the XML parsing and jQuery operations - although that is a much tougher question. -Mike > I am having some trouble tracking down why this relativily > si

[jQuery] Re: Can jQuery load from DOM?

2008-10-06 Thread Michael Geary
The Google Ajax loader is nice, but it doesn't do what sung is looking for. google.load() uses document.write() to write a

[jQuery] Re: Valid jQuery on Development fails on Production

2008-10-06 Thread Ryura
You have some unclosed tags (the last tr and td). Try closing those. On Oct 6, 6:06 pm, rich <[EMAIL PROTECTED]> wrote: > I am writing a fairly basic script using jQuery. However, the script > behaves differently depending on whether I am running it on my local > Web server (localhost) or on a pr

[jQuery] jQuery Turk

2008-10-06 Thread Onur ACUN
hi everbody, we would like to support jQuery with http://jqueryturk.com web site which use turkish language. We will be sharing our experiments, articles about jQuery vs. on jQueryTurk. we will add a forum soon. http://forum.jqueryturk.com Onur ACUN

[jQuery] jQuery plus existing Web Services

2008-10-06 Thread Risingfish
Hello, I'm starting to play around with jQuery and decided to jump in head first. We have a number of existing web services, built on ASP.NET, that we using for our client/server application. Unfortunately, they cannot handle POSTs or GETS due to the type of data returned. The SOAP call looks lik

[jQuery] Is it possible to avoid jumpy / disappearing content

2008-10-06 Thread Nabha
Hi there, I love jQuery, but I have a question about something I see it doing: Content that it is hiding or moving often appears in its original position *before* it is hidden by jQuery. Is there any good, accessible way around this? You can see the effect in action on a page like this: http://

[jQuery] Poor Performing jQuery .each()

2008-10-06 Thread Coryt
I am having some trouble tracking down why this relativily simple client-side template is performing so poorly. Using js to make an ajax call and retrieve a small amount of data, limited to 100 rows being returned. I've tracked the problem down to the actual jQuery iteration, here is my code: f

[jQuery] Valid jQuery on Development fails on Production

2008-10-06 Thread rich
I am writing a fairly basic script using jQuery. However, the script behaves differently depending on whether I am running it on my local Web server (localhost) or on a production server. On development, the following code returns the HTML I'm expecting: $('#objID').siblings('.mAddress').html();

[jQuery] Re: Re[jQuery] size "creep" in FF 3.0.3 and 2.x

2008-10-06 Thread greenteam003
Well no responses but I did find a band aid, thought I'd share for anyone else having a similar problem with resizing acting unexpectedly. I just tagged on the following stop function to readjust just in case the resizable "slides" down while resizing from the top. It was only occurring when th

[jQuery] Re: Can jQuery load from DOM?

2008-10-06 Thread sung
== code == if (typeof google == 'undefined' || !google) { var s = document.createElement('script'); s.setAttribute('type','text/javascript'); s.setAttribute('src','http://www.google.com/jsapi'); document.getElementsByTagName('head')[0].appendChild(s); } google.load(

[jQuery] element content displayed out of place using slideToggle (IE6/IE7)

2008-10-06 Thread Streetdaddy
http://www.screencast-o-matic.com/watch/cj6hrGnes The fps of the screencast isn't fantastic, but you can see the problem. On page load the .inner element is hidden with hide() The animation uses slideToggle(500). During the animation, the content of the element if briefly shown above. The pr

[jQuery] Re: Opacity in IE

2008-10-06 Thread ricardobeat
Honestly, you should be using flash for this stuff. You'll only get headaches trying to do fancy animations like these in Javascript, your code has way too much calls. If you really really want to do this in JS you should give your .blowUp divs a position:relative in CSS and use something like th

[jQuery] Re: Can jQuery load from DOM?

2008-10-06 Thread ricardobeat
Follow the instructions on the page, you need to put everything inside the callback function. On Oct 6, 6:11 pm, sung <[EMAIL PROTECTED]> wrote: > It still has the same problem like loading jQuery from javascript. > > On Oct 6, 1:40 pm, ricardobeat <[EMAIL PROTECTED]> wrote: > > > Google has an A

[jQuery] Re: jQuery Truncating Help

2008-10-06 Thread Zachary
Does no one have any answers to this question...It has been quite a while and I could really use some suggestions. Thanks. On Oct 3, 9:21 am, zacharyd <[EMAIL PROTECTED]> wrote: > I have been working with Brian Reindel's Truncate plug-intrying to get ti > to do what I need.  It seems simple

[jQuery] Re: Disable globals for jQuery.get()?

2008-10-06 Thread Micky Hulse
Hi Mike, many many thanks for your quick reply. I really appreciate you (and all of you) taking the time to help me out. :) > what you probably want instead is this: > $.ajaxSettings.url = token; > $.ajaxSettings.global = false; Ahhh, thanks! I was did not see ajaxSettings in the docs. :( I thi

[jQuery] Re: Can jQuery load from DOM?

2008-10-06 Thread sung
It still has the same problem like loading jQuery from javascript. On Oct 6, 1:40 pm, ricardobeat <[EMAIL PROTECTED]> wrote: > Google has an API that does that, check it out: > > http://code.google.com/apis/ajaxlibs/ > > - ricardo > > On Oct 6, 3:29 pm, "Michael Geary" <[EMAIL PROTECTED]> wrote:

[jQuery] Re[jQuery] size "creep" in FF 3.0.3 and 2.x

2008-10-06 Thread greenteam003
I've been doing some searching in the mailing list and haven't been able to find this issue although I'm sure it has come up. I don't know if its a $.ui.resizable bug or css issue but I have a simple div on a page with the following html: Handle this is my footer

[jQuery] Re: Intercept "Back" button click on browser

2008-10-06 Thread Bil Corry
Leanan wrote on 10/6/2008 3:52 PM: > You should notice that every time you click on the Test links, you > will actually get the html page twice instead of once. You test for Chap1 twice in the IF statements and you don't test for Chap3 at all. I suspect that would cause a double-load issue for

[jQuery] Re: Intercept "Back" button click on browser

2008-10-06 Thread Leanan
Klaus, I've created a demo that exhibits this behavior. I modified your demo that is included with the script at http://www.stilbuero.de/jquery/history/ All you should have to do is change your index.html to be the following: jQuery history/remote - solution for

[jQuery] Re: jscrollpane not functioning in iframes

2008-10-06 Thread ricardobeat
It is functioning, but the scrollbar overflows the iframe. Give the iframe a width of 292px and you'll see it. - ricardo On Oct 6, 4:06 pm, ekene <[EMAIL PROTECTED]> wrote: > i made two test html pages. > > this is the link for the child page which calls > jscrollpanehttp://ekeneijeoma.com/clie

[jQuery] Re: Intercept "Back" button click on browser

2008-10-06 Thread Leanan
I'll see if I can create a demo that has the same behavior. On Oct 6, 4:25 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote: > Is it possible for you to put up a demo? > > --Klaus > > On 6 Okt., 22:11, Leanan <[EMAIL PROTECTED]> wrote: > > > *sigh* > > > Ok.  I've decided upon the jquery.history_remote.

[jQuery] Re: not defined error using instance variable in each callback

2008-10-06 Thread marty
Hi Mike, You're right, I want to be able to use this.rowTextArray later on. You're code suggestion works great! Thanks so much for the help!! Regards, Marty On Oct 6, 1:24 pm, "Michael Geary" <[EMAIL PROTECTED]> wrote: > That's right, the mistaken use of "this" is the problem - one of them

[jQuery] Re: Can jQuery load from DOM?

2008-10-06 Thread ricardobeat
Google has an API that does that, check it out: http://code.google.com/apis/ajaxlibs/ - ricardo On Oct 6, 3:29 pm, "Michael Geary" <[EMAIL PROTECTED]> wrote: > Browser caching works with this technique, exactly as it does with a >

[jQuery] Re: Trouble getting 1 hover to work at a time

2008-10-06 Thread Leanan
I haven't tested this, but I would try something along the following: $('.appHelpPopup').children('span').show(); The problem is that you have more than one DOM element classed as appHelpPopup with a span under it, so that selector is grabbing all of them, and applying show to all of them. You

[jQuery] Re: Intercept "Back" button click on browser

2008-10-06 Thread Klaus Hartl
Is it possible for you to put up a demo? --Klaus On 6 Okt., 22:11, Leanan <[EMAIL PROTECTED]> wrote: > *sigh* > > Ok.  I've decided upon the jquery.history_remote.js plugin by Klaus. > I have it working, except there is one slight problem, and I can't > figure out how to fix it. > > I have a ta

[jQuery] Re: not defined error using instance variable in each callback

2008-10-06 Thread marty
Thanks very much for the reply! That was a big help! I was missing the fact that "this" inside the loop is not the same as "this" outside the loop. Your suggestion really helped! Regards, Marty On Oct 6, 12:59 pm, MorningZ <[EMAIL PROTECTED]> wrote: > i would take a guess that you are missing

[jQuery] Re: Disable globals for jQuery.get()?

2008-10-06 Thread Mike Alsup
> Demo 1: > test/> > > Demo 2: > test/getOff.php> > I think you've just misunderstood how to set the default ajax options. Based on this comment: /* Setup

[jQuery] Re: Intercept "Back" button click on browser

2008-10-06 Thread Leanan
*sigh* Ok. I've decided upon the jquery.history_remote.js plugin by Klaus. I have it working, except there is one slight problem, and I can't figure out how to fix it. I have a table of links that, when you click on a link, they pull up more detailed data, load it into a div, so on and so forth

[jQuery] Re: Disable globals for jQuery.get()?

2008-10-06 Thread Micky Hulse
Hello, Here are a few test pages... Sorry, I have not had time to try the solutions offered here yet. Demo 1: Demo 2: Sorry in advance

[jQuery] Re: append mailto link to orphan plain text email address

2008-10-06 Thread skankster
No one? On 2 Okt., 14:45, skankster <[EMAIL PROTECTED]> wrote: > Hi, > > I have a div that contains simple text data with line breaks. I want > to append a mailto link to the email address but so far I have not > been able to select the email. > > The container looks something like this: > > >  

[jQuery] jscrollpane not functioning in iframes

2008-10-06 Thread ekene
i made two test html pages. this is the link for the child page which calls jscrollpane http://ekeneijeoma.com/clients/lrany/recordTest.html this is the script in the recordTest.html page $(document).ready(function(){ $('#record-scroll-pane').jScrollPane(); }); this is the link for the r

[jQuery] Opacity in IE

2008-10-06 Thread Greg G
I have some animation I'm working on that works fine in Firefox but not in IE. I have two issues: Part of the animation is fading out an element. I want to integrate this with the animate function and not use the fade out option. I've tried using filter : "alpha(opacity..." but that didn't hel

[jQuery] Trouble getting 1 hover to work at a time

2008-10-06 Thread line47
I know what needs to be done but I'm not sure how to accomplish it. I want the span inside of the a.appHelpPopup to show on hover. Right now both span messages show on hover. :( I'm not sure how to only get the proper message associated to hover an not all spans. Here is my markup. $(document

[jQuery] Chicago JavaScript Meetup

2008-10-06 Thread Justin Meyer
Excuse 'spamming' the forum, but it's relevant Vlad Didenko is organizing Chicago's first JavaScript meetup. If you are in the Chicago area and looking to improve your JavaScript skills, join the group at http://javascript.meetup.com/10/. We are posting discussion/talk topics to http://tin

[jQuery] not defined error using instance variable in each callback

2008-10-06 Thread marty
This is driving me crazy I'm trying to copy elements from a wrapped set into an array. This works: // build an array of text on the line var rowTextArray = new Array(); // add text into array this.children.each( function() {

[jQuery] Re: Disable globals for jQuery.get()?

2008-10-06 Thread Micky Hulse
Thanks for the help all! I am going to try your suggestions, and also put-together a simple test page in order to show/test the specific code... I am wondering if maybe some other jQuery plugin/script is causing problems with this. I will be back shortly with demo page. Thanks a billion!!! Mi

[jQuery] Re: simple table filtering?

2008-10-06 Thread MorningZ
Also, this blog post by John Resig may be of help http://ejohn.org/blog/jquery-livesearch/ I could see that as easily being tweaked to work on table rows instead of divs On Oct 6, 11:33 am, bdee1 <[EMAIL PROTECTED]> wrote: > that is very helpful and should be a great starting point - thank

[jQuery] Re: Tablesorter Plugin and widgets

2008-10-06 Thread ajpiano
you need to make your addWidget method handle a function as an argument, and then execute the function if it is supplied and a function... function foo(bar,callback) { $(bar).remove(); callback && $.isFunction(callback) && callback(); } foo("#baz",function() {alert("done!");}); // removes baz a

[jQuery] Re: Can jQuery load from DOM?

2008-10-06 Thread Michael Geary
Browser caching works with this technique, exactly as it does with a

[jQuery] Re: R: [jQuery] Only show div's within parent.

2008-10-06 Thread ricardobeat
This will toggle the element with class 'hidden' next to the : $('a.show').click(function(){ $(this).next('.hidden').slideToggle("fast"); }); - ricardo On Oct 6, 6:03 am, Adrian Lynch <[EMAIL PROTECTED]> wrote: > Or: > > $(document).ready(function(){ >         $("

[jQuery] Re: Can jQuery load from DOM?

2008-10-06 Thread Web Specialist
Using this approach is possible to allow js file cache? Or in every page that js file needs to load again? Cheers Marco Antonio On Mon, Oct 6, 2008 at 2:54 PM, Michael Geary <[EMAIL PROTECTED]> wrote: > > Yes, you can do that. I'll bet the reason you're getting $ undefined is > that > you're try

[jQuery] Re: Can jQuery load from DOM?

2008-10-06 Thread Michael Geary
Yes, you can do that. I'll bet the reason you're getting $ undefined is that you're trying to reference it immediately after running that code. The dynamic script element loads asynchronously, and as with all asynchronous JavaScript, you need to either use a completion callback function or a setIn

[jQuery] Re: jquery code works with firefox but not ie.

2008-10-06 Thread ajpiano
one of the biggest things to watch out for is malformed markup. typically, firefox will be much friendlier on markup that IE refuses to inject. have a look at your < and /

[jQuery] Re: Match the filename to highlight current link on page

2008-10-06 Thread Adrian Lynch
Extract the href and then split it into it's various sections var href = some selector; hrefSections = href.split("/"); If there are no query string parameters you have the file name in the last array element: var fileName = hrefSections[hrefSections.length - 1]; Now do your other selector a

[jQuery] Re: treeview: prendered + cookie persistence

2008-10-06 Thread Jörn Zaefferer
If you use prerendered, you have to read the cookie on the serverside and render the tree accordingly. Otherwise you have to disable prerendered to be able to use cookie persistence. Jörn On Mon, Oct 6, 2008 at 6:08 PM, pjdevries <[EMAIL PROTECTED]> wrote: > > I'm using treeview (version 1.4.1) w

[jQuery] How to uninstall the

2008-10-06 Thread Kynn Jones
I have a jQuery-based script that performs some updates on the current page (using the load method), and eventually visits a second page, by resetting window.location. This works fine, but if the user hits the back button, the whole sequence is repeated, including the re-loading of the second page

[jQuery] Re: ANNOUNCE: jQuery listnav plugin

2008-10-06 Thread Jack Killpatrick
Hi Ettiene, how'd using it go for you? Thanks to everyone else for the initial feedback. I'm interested to hear if anyone has implemented it anywhere. ? - Jack Ettiene wrote: Excellent stuff man! I'm already busy using it hehe Ettiene

[jQuery] treeview: prendered + cookie persistence

2008-10-06 Thread pjdevries
I'm using treeview (version 1.4.1) with the 'prerendered' option in combination with 'cookie' persistence. This seems to work fine until the page with the treeview is build from scratch (as opposed to refreshed as a result of pressing the browser back button for instance). Because I build the prer

[jQuery] Re: Jquery and ASP.NET

2008-10-06 Thread [EMAIL PROTECTED]
MorningZ, thanks for the ideas. Personally, I don't prefer overriding control ID's as they have to be unique. You can easily break your code if you don't pay enough attention. For .NET guys, I recommend using < %=ControlName.ClientID%> syntax. The only downside is that you can not put your scrip

[jQuery] Can jQuery load from DOM?

2008-10-06 Thread jQuery(new).to(me)
Hello, I am trying to load jQuery from Javascript like the following code. == code == if (typeof jQuery == 'undefined' || !jQuery) { var s = document.createElement('script'); s.setAttribute('type','text/javascript'); s.setAttribute('src','http://localhost/jquery-latest.m

[jQuery] Re: jQuery cycle and handling new request/page changed

2008-10-06 Thread Mike Alsup
> me=noob > Mike=the man > > *Thanks !* Ha, no problem. Don't feel bad, that's a very subtle issue and it's really a bug in my code, not yours. Mike

[jQuery] Re: problem with internet explorer...

2008-10-06 Thread Manarius
i just solved the silly question myself. you just have to add: var toLoad = href+' #ContentText'; target.load(toLoad, function() { instead of: target.load(href, function() { into jquery.history.js around line 250. but the bugs remain :( greetings, jascha

[jQuery] Match the filename to highlight current link on page

2008-10-06 Thread suntrop
Hi there, I've following code to highlight the current link in my menu: var path = location.pathname.substring(1); if (path != '') { $('#navigation [EMAIL PROTECTED]"' + path + '"]').css('color','#c03'); } else { $('#navigation [EMAIL PROTECTED]"/"]').css('color','#c03'); } But s

[jQuery] Re: simple table filtering?

2008-10-06 Thread Eric
This sounds specialized enough that you'll probably be writing the code yourself. No problem, jQuery will help! Basically, every time the contents of your text fields change, you'll go through every row of the table, check specific cells, and if they don't match the text (http://www.w3schools.com

[jQuery] Re: simple table filtering?

2008-10-06 Thread bdee1
that is very helpful and should be a great starting point - thank you very much for posting!! I will let you know how i make out. Eric-286 wrote: > > > This sounds specialized enough that you'll probably be writing the > code yourself. No problem, jQuery will help! > > Basically, every tim

[jQuery] Re: Processing.js Google Group Now Formed!

2008-10-06 Thread Rey Bango
Hi, Can you please move this over to the Processing Google Group. This mailing list is for jQuery and the initial announcement was to let you know of the best place to chat about Processing.js. Thanks, Rey jQuery Project F1LT3R wrote: You may be looking for online apps... but I think you

[jQuery] Re: Possible to set metadata parameter dynamically?

2008-10-06 Thread Erik Beeson
In an older version of the metadata plugin, you used to be able to set something (metaDone to false I think it was) that would force it to reload, but that doesn't work anymore. This is all untested, but here's my read on it: Now, metadata is stored in jQuery's internal caching system, which asso

[jQuery] Re: jquery code works with firefox but not ie.

2008-10-06 Thread Eric
Good tip! Another reason to use JSON? http://us2.php.net/json_encode On Oct 5, 10:43 am, Mantas <[EMAIL PROTECTED]> wrote: > try to right: > header('Content-Type: text/xml'); > in your php file. > I had the same problem with IE and then i've remembered this "magic" > line, it solved my problem

[jQuery] simple table filtering?

2008-10-06 Thread bdee1
I am looking for a simple way to filter the contents of a table. to clarify - i would like to have a form at the top of an HTML table where i can select a field to filter on and then a textbox. as i type in the textbox, the table's contents will change to display only rows where the selected fi

[jQuery] Re: $().each() only iterates through first item

2008-10-06 Thread MorningZ
As for yout ".size()" issue this code http://paste.pocoo.org/show/87223/ works totally as expected. not sure what you have different On Oct 6, 10:41 am, BB <[EMAIL PROTECTED]> wrote: > Try: >         $j(".is_preferred_email").each( >             function(i) { >                 this.chec

[jQuery] Re: $().each() only iterates through first item

2008-10-06 Thread BB
Try: $j(".is_preferred_email").each( function(i) { this.checked = false; } ); or as the posts before: $j(".is_preferred_email").attr("checked", false); On 6 Okt., 16:04, sydneyos <[EMAIL PROTECTED]> wrote: > Thanks for your input.  Here is

[jQuery] Re: JQuery validate problem

2008-10-06 Thread Jörn Zaefferer
Take a look at the instructions here: http://docs.jquery.com/Plugins/Validation/Reference#Fields_with_complex_names_.28brackets.2C_dots.29 Jörn On Mon, Oct 6, 2008 at 10:50 AM, Bill <[EMAIL PROTECTED]> wrote: > > I have a problem.where i use the jquey validate plugin for my > project. > > I want

[jQuery] Re: Problem jQuery Selecting Input field

2008-10-06 Thread Alexander Gyoshev
attributeEndsWith selectors: $("input[id$=':home']") On Mon, Oct 6, 2008 at 8:27 AM, Faisal Basra <[EMAIL PROTECTED]> wrote: > > Yes, right Morningz looks like this. > > > > > > > > > > > > > > > > > i want to access in

[jQuery] Re: Jquery and ASP.NET

2008-10-06 Thread GARIL
Definitely. On Oct 5, 1:45 pm, eduardo wrote: > Is possible use JQuery in aspx pages writing with ASp.net 3.5 ?

[jQuery] Re: $().each() only iterates through first item

2008-10-06 Thread sydneyos
Thanks for your input. Here is the relevant HTML (dynamically generated) On Oct 5, 7:22 pm, MorningZ <[EMAIL PROTECTED]> wrote: > There is absolutely no way you have the selector setup correctly > > what is the HTML? > > On Oct 5, 8:53 pm, sydneyos <[EMAIL PROTECTED]> wrote: > > > I ha

[jQuery] problem with internet explorer...

2008-10-06 Thread Manarius
hi guys and girls :) first of all excuse me if my english is rather bad, i am from austria so english is not an everyday language for my mind. the silly warmup question first: i am not geeky enough to know, how to search for this on google (but believe me, i tried many many keywords before adress

[jQuery] Re: jqueryPngFix and links on IE6

2008-10-06 Thread Klaus Hartl
position: relative does not always work but in my experience triggering hasLayout almost always (you can never tell with IE) works if links displayed as block aren't clickable as a whole. http://www.satzansatz.de/cssd/onhavinglayout.html --Klaus On 6 Okt., 12:48, shortStormTrooper <[EMAIL PRO

[jQuery] Re: $().each() only iterates through first item

2008-10-06 Thread sydneyos
Dave, Actually, I tried both of those things first - should have mentioned that. It was only after I got three elements doing alert($j(".is_preferred_email")) that I switched to using the index. On Oct 5, 7:53 pm, Dave Methvin <[EMAIL PROTECTED]> wrote: > >         $j(".is_preferred_email").eac

[jQuery] Re: Processing.js Google Group Now Formed!

2008-10-06 Thread Rick Faircloth
Ok...I'll ask...what is "Processing.js" about? Rick chris thatcher wrote: I started using processing.js also, I'll definitely join this group! Thatcher On Sat, Oct 4, 2008 at 7:16 PM, F1LT3R <[EMAIL PROTECTED] > wrote: Hey Joe, I love using Processing s

[jQuery] Re: problem when i click

2008-10-06 Thread MorningZ
Care to divulge what the "problem" is? On Oct 6, 3:27 am, ledaker <[EMAIL PROTECTED]> wrote: > $(document).ready(function() > { > > $('#button3').click( > function(event){ > alert(this.id); > > $ > ('td:contains("1-2")').parent().find('td:gt(0)').addClass('InputSearch'); > $('tr:odd').addClass('

[jQuery] Re: it doesn't work with HTML loaded dynamically

2008-10-06 Thread Will
an example of the use : http://w.rouvre.free.fr : )

[jQuery] problem when i click

2008-10-06 Thread ledaker
$(document).ready(function() { $('#button3').click( function(event){ alert(this.id); $ ('td:contains("1-2")').parent().find('td:gt(0)').addClass('InputSearch'); $('tr:odd').addClass('LinkCal'); $('tr:even').addClass('LinkTag'); $('td:contains("2-2")').addClass('LinkTag'); $('input').removeClass(

[jQuery] Superfish - always display one of the submenus

2008-10-06 Thread iguana007
Hello there, I would like ask You if there is any possibility to always display one of the submenus. I would like have first submenu always expanded and other being expanded by hover of its parent list item. Thank You for any suggestions. Luke

[jQuery] JQuery validate problem

2008-10-06 Thread Bill
I have a problem.where i use the jquey validate plugin for my project. I want to use the validate like this: but it does not work . i should make the id and name property as same. or named the id as "cname" and name is "name" if i use the struts2 framework and want to use name like xxx.yyy,wh

  1   2   >