[jQuery] Re: Books

2008-02-24 Thread timothytoe
>>jQuery in Action >>Bear Bibeault, Yehuda Katz >>http://www.amazon.com/jQuery-Action-Bear-Bibeault/dp/1933988355 I sent a shout out this morning on this list about that one. I love it.

[jQuery] Re: Books

2008-02-24 Thread Richard D. Worth
I would strongly recommend these two: Pro JavaScript Techniques John Resig http://www.amazon.com/Pro-JavaScript-Techniques-John-Resig/dp/1590597273 Learning jQuery: Better Interaction Design and Web Development with Simple JavaScript Techniques Karl Swedberg, Jonathan Chaffer http://www.amazon.co

[jQuery] Re: jQuery Form Plugin (jqForm) problem on beforeSubmit callback

2008-02-24 Thread Nazgulled
So, you are saying I just have to use: $.admin.ajax.someVar ? Mike Alsup wrote: > > > >(function($) { > >$.admin.ajax = { > >someVar: null, > >request: function(formData, jqForm, options) { > >

[jQuery] Re: Taconite and Jquery 1.2.3

2008-02-24 Thread Mike Alsup
On Sun, Feb 24, 2008 at 7:04 PM, lvp1138 <[EMAIL PROTECTED]> wrote: > > Hi Mike, > > It doesn't have a target... take a look at the source code... > > Peter > > On Feb 24, 1:25 pm, "Mike Alsup" <[EMAIL PROTECTED]> wrote: > > Peter, this is the same problem as before. You cannot use the form > >

[jQuery] Re: Getting started

2008-02-24 Thread Ryura
The documentation is essentially this. http://docs.jquery.com/Main_Page Click the various links under jQuery API Reference. On Feb 24, 4:51 am, jonpren <[EMAIL PROTECTED]> wrote: > Hi, > > Is there anywhere listed all functions that is added by including > jquery? > > Best Regards - Jon

[jQuery] Re: get index number of 'in focus' text box

2008-02-24 Thread paulj
I was really sure I had properly searched the online documentation before posting this problem but a 're-read' revealed the solution ie $(document).ready(function(){ $('input:text').click(function () { var index = $('input:text').index(this); $('div').text("That was div index #" +

[jQuery] Re: Taconite and Jquery 1.2.3

2008-02-24 Thread lvp1138
Hi Mike, It doesn't have a target... take a look at the source code... Peter On Feb 24, 1:25 pm, "Mike Alsup" <[EMAIL PROTECTED]> wrote: > Peter, this is the same problem as before. You cannot use the form > plugin's 'target' option if your server is returning XML documents. That's > just no

[jQuery] Safari slidetoggle problem

2008-02-24 Thread Eiff
Total rookie here. I'm trying to have a collapsable/expandable sitemap on the bottom of a site I'm working on. Here's the site it's for: http://www.believerscenter.com/beta/2007/yx.php (Click on the bottom 'site map') - you'll see it expand and contract. It's currently using mootools, but I want

[jQuery] Problem with .change and .val in IE

2008-02-24 Thread jamthoyoung
In the following code: $(document).ready(function() { $('#theinput').change(function(){ $(this).val('something else'); alert('hello'); }); });

[jQuery] Re: JQuery site is blank for one user

2008-02-24 Thread Andrew Ayres
Rob, > Try it in Safari, It's already a known issue, and not currently supported. That's why I listed IE6, IE7, FF2 and Opera 9.2x as the successfully tested browsers. Please use one of the tested browsers if viewing the site will help you to comment on the issue I raised. > it looks dreadful.

[jQuery] Re: Media Plugin Issue

2008-02-24 Thread Mike Alsup
Hi Jake, Sorry for the delayed response. Due to an oversight on my part the flvPlayer can only be overridden globally using $.fn.media.defaults.flvPlayer. And it looks like I've got a bug supporting the old metadata plugin, but the current one seems to work fine. Here's a test page that shows a

[jQuery] Re: trying to find the first instance of a person's name on the page

2008-02-24 Thread sspboyd
agreed, this is not the best way to handle this issue. I'm considering it as a temporary work-around to a technical issue with the underlying cms. On Feb 24, 9:49 am, the_woodsman <[EMAIL PROTECTED]> wrote: > Seriously, if you want this to scale when you have more names in the > future, it'd be b

[jQuery] Re: Getting started

2008-02-24 Thread Klaus Hartl
The documention is here: http://docs.jquery.com/Main_Page (jQuery API Reference). And there's also a handy API browser: http://remysharp.com/jquery-api/ --Klaus On Feb 24, 10:51 am, jonpren <[EMAIL PROTECTED]> wrote: > Hi, > > Is there anywhere listed all functions that is added by including

[jQuery] Re: Getting started

2008-02-24 Thread [EMAIL PROTECTED]
Hi, Jon :) Well, yes, there's the jQuery api reference, here: http://docs.jquery.com/Main_Page Quick & simple, but a bit out-of-date: http://visualjquery.com/index.xml (good idea: Look things up on Visual jQuery, then check for more info in the api). There's also a bunch of tutorials at http://

[jQuery] Re: [treeview]

2008-02-24 Thread Jörn Zaefferer
pawe schrieb: Hi! I've tried to make treeview plugin work with permalinks, but without luck: http://bassistance.de/jquery-plugins/jquery-plugin-treeview/ Heres an example: http://cms.segast-i.eu/ Any ideas are appreciated! What exactly is the issue? The testpage seems to work fine, apart f

[jQuery] Re: Site Blank in IE7

2008-02-24 Thread Klaus Hartl
It doesn't work in Firefox either. I think the problem ist that you used the script tag without a closing tag. Although theoretically valid XHTML that isn't supported well in browsers. The following is seen as by the browsers - especially because you're serving XHTML as text/ html, thus all

[jQuery] Re: Problem with form validation (works in FF, but not in IE)

2008-02-24 Thread Chris Jordan
Thanks for the response! I'll let you know how it turned out. On Feb 20, 10:41 pm, "Macarrão" <[EMAIL PROTECTED]> wrote: > Hails! Well, I've been using this plugin and it works nice! > > I think you'd better give the attribute "name" the same value as the > "id" attribute. I believe IE and Opera

[jQuery] tr background toggle

2008-02-24 Thread rayfidelity
Hi, I have a problem with my toggle function...it disables all the links in the tr (when i click on the link it just changes the color of the tr)...How do i fix it? $(".table_data tr").toggle( function(){ $(this).css("background-color","#FE

[jQuery] Re: Cluetip problem

2008-02-24 Thread Karl Swedberg
I think your problem is different. It looks like part of the tooltip is hitting the mouse, and that causes a mouseout from the invoking element, which closes the tooltip; when the tooltip then closes, the mouse is once again over the invoking element. This continues. You might want to try

[jQuery] Re: how to trim all elments of a form with "$.each"

2008-02-24 Thread Karl Swedberg
Hi Paul, Try this: $('form :input').each(function() { var thisInput = $(this); var trimmedVal = $.trim($thisInput.val()); $thisInput.val(trimmedVal); }); --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Feb 23, 2008, at 11:25 PM,

[jQuery] Site Blank in IE7

2008-02-24 Thread George
Hi, I'e just started using jquery and have to say I like it. One big problem though, my site (http://www.georgemauer.net) doesn't show up when I try to go to it in internet explorer 7. Nothing, its blank, just shows up as the background color. Strangely enough, all the html in view source is st

[jQuery] Sending an AJAX call back on link click without losing it

2008-02-24 Thread AsymF
I am trying to study user interface usage based on links clicked, so I attached a pingback to the click event of every link. It simply does a basic $.get(url) to the statistic tracking script on the server. However, I have noticed during my tests of this rather simple code that a LOT of my pingbac

[jQuery] Books

2008-02-24 Thread coughlinsmyalias
Hey, I was wondering what books you guys would reccomend? I have been looking here on the groups and on Amazon and not sure which one to go with? Any ideas? Thanks! Ryan

[jQuery] Getting started

2008-02-24 Thread jonpren
Hi, Is there anywhere listed all functions that is added by including jquery? Best Regards - Jon

[jQuery] Re: Macro templates for jQuery & UI

2008-02-24 Thread MathiasBank
Hi, I think, that's a really great plugin! It can also be used to get international content. For this, it would be fantastic, if you can add one possibility. I want to register my own additional helper functions (for example for format a decimal as money). Which can be called at the variables. Th

[jQuery] Re: Taconite and Jquery 1.2.3

2008-02-24 Thread Mike Alsup
Peter, this is the same problem as before. You cannot use the form plugin's 'target' option if your server is returning XML documents. That's just not going to work. Mike On Thu, Feb 21, 2008 at 4:14 PM, lvp1138 <[EMAIL PROTECTED]> wrote: > > Thanks Mike. I'll keep checking. Maybe I'm doing

[jQuery] Re: jqModal - how to call jquery functions on returned AHAH?

2008-02-24 Thread metoikos
You can use jqModal's onLoad event. $('#modal').jqm({ajax: url,target: 'div.jq_content', trigger: false, modal:true, onLoad: modalLoaded }).jqmShow(); function modalLoaded(hash) { // call function or bind event to elements } On Feb 24, 2:07 am, "J. Childers" <[EMAIL PROTECTED]> wrote: > Hi, > >

[jQuery] jqModal, Ajax onLoad Problem On Jquery 1.2.3

2008-02-24 Thread Yılmaz Uğurlu
Hi everyone. I have got some problem jqModal and jquery 1.2.3, and here it is. I am creating simple modal like this. $('#modalcontent').jqm({ajax: url,target: 'div.jq_content', trigger: false, modal:true, onLoad: modal_load }).jqmShow(); function modal_load (hash) { modalReady(this); } And it fi

[jQuery] Remove event from object

2008-02-24 Thread McEdonskiy
Sorry for my bad english, I have code: $(this).dblclick( function() { $(this).html(''); $(this).dblclick( function() {}) ;// try remove event Don`t work }); And I want block second dblClick Thanx

[jQuery] clueTip Flicks in FF

2008-02-24 Thread fshuja
i have used the clueTip pluging but tooltip flicks in FF its working ok in IE/ http://www.unirazz.com/tooltip.html i have also try to $.cluetip.setup new element and position:relevant to body but its not working. thnx

[jQuery] Re: before() and after() does not work on unclosed tags?

2008-02-24 Thread jquertil
after a litle thinking i realized this could be done easier by doing the opposite, using wrapinner() generic header stuff $('#wrapit').wrapinner('...');

[jQuery] Re: Change text in

2008-02-24 Thread bjousse
Well, i tried a few things and dit it that way: document.theForm.ThecheckBox.parentNode.lastChild.nodeValue = "thetexte" thanks anyway On 19 fév, 15:36, "Jake McGraw" <[EMAIL PROTECTED]> wrote: > $("label").each(function(){ > $(this).html($(this).html().replace(/[^>]+$/,"Replacement")); > > }

[jQuery] Re: ".find" does not work in ".each"

2008-02-24 Thread McEdonskiy
> That's a good point, but it looks like he is trying to find td   > elements with an id that *starts* with "order," so they could be   > "order_1", "order_2", etc. I agree, though, that it would be less   > cumbersome to simply use a common class. Yes, I find "order_1", "order_2", etc. In the nu

[jQuery] Re: before() and after() does not work on unclosed tags?

2008-02-24 Thread jquertil
yea, that is workable. until you apply it to 100 elements on a page. document.write is way faster, but only works during an initial page load. sigh... thanks karl...

[jQuery] Re: Cluetip problem

2008-02-24 Thread fshuja
i have the same problem please check in FF http://www.unirazz.com/tooltip.html the tooltip flicks. i have tried to setup the cluetip with new element but same problem. please help thnks

[jQuery] Re: livequery, $.ajax and json

2008-02-24 Thread FrEaKmAn
Update: Works great, I just had a problem that when I was using json, the data that was returned from albums.php wasn't json formatted...

[jQuery] Re: trying to find the first instance of a person's name on the page

2008-02-24 Thread the_woodsman
Seriously, if you want this to scale when you have more names in the future, it'd be better to do at least some of the work server side, if you can- perhaps put all names in a span with class personName, then play around with those elements in JQ on the client side.

[jQuery] [treeview]

2008-02-24 Thread pawe
Hi! I've tried to make treeview plugin work with permalinks, but without luck: http://bassistance.de/jquery-plugins/jquery-plugin-treeview/ Heres an example: http://cms.segast-i.eu/ Any ideas are appreciated!

[jQuery] checkbox in li keeps unchecking itself

2008-02-24 Thread Gabor Szabo
Hi, I have the following html text with code like this: $("input").filter(".xx").click(function(){ //alert('name: ' + $(this).attr("name") + ' ' + 'class: ' + $ (this).attr("class") + ' ' + 'id: ' + $(this).atr("id")); // code should come

[jQuery] Re: Examples of RIA apps using jQuery

2008-02-24 Thread xwisdom
Maybe you can find a few here: http://www.noupe.com/jquery/50-amazing-jquery-examples-part1.html On Feb 6, 12:00 am, carvingcode <[EMAIL PROTECTED]> wrote: > Are there any examples of full RIA applications built using the jQuery > platform?  Please post URLs.  TIA

[jQuery] Re: jQuert Validate 1.2 issues

2008-02-24 Thread joniba
Hi Jorn, I have a similar issue. But putting the custom rule on only one of the fields means that the onkeyup/onblur validation will only work when the user is in that field, which is not very clear for the user if input in multiple fields affects validation. Is there any solution to this? On F

[jQuery] Re: refreshing a div tag

2008-02-24 Thread Steve Good
Awesome! Thanks for a push in the right direction. :) ~Steve http://goodcf.instantspot.com/blog Dan G. Switzer, II wrote: > Steve, > > >> I searched around the web a bit for a way to refresh a div tag at set >> intervals but haven't found anything that pertains to jquery. I saw >> some s

[jQuery] Re: $.ajaxFileUpload into an ajax form

2008-02-24 Thread Yılmaz Uğurlu
Hmm. I am creating hidden form elements and i am inserting returned result to that element. Here is sample cod: function ajaxFileUpload() { $.ajaxFileUpload ( { url:base_modal+'c=content&m=uploadFile', secureuri:false,

[jQuery] Re: IE/Opera problem using ClueTip

2008-02-24 Thread Faraz Shuja
sir thanks a lot for your time! yes u r right its the problem of server.

[jQuery] how to trim all elments of a form with "$.each"

2008-02-24 Thread PaulM
I would like to go through all inputs in a form and trim the fields in them. How do I do this with the $.each function? I looked at the documentation and its not clear. Please give me code.

[jQuery] Re: jQuery Form Plugin (jqForm) problem on beforeSubmit callback

2008-02-24 Thread Mike Alsup
> >(function($) { >$.admin.ajax = { >someVar: null, >request: function(formData, jqForm, options) { >alert("Setting someVar = Hello World.") > >this.someVar = "Hel

[jQuery] Re: Browser.Version for IE7 Vista returned as 6

2008-02-24 Thread MichaelEvangelista
@Jeffrey: thank you thank you - that did it! Hopefully this helps some others, too... I found many more instances of this question than possible answers to it when searching. Thanks again! On Feb 23, 6:01 pm, "Jeffrey Kretz" <[EMAIL PROTECTED]> wrote: > Try this: > > $.browser.msie6 = >

[jQuery] Re: trying to find the first instance of a person's name on the page

2008-02-24 Thread Dave Stewart
> I was also thinking that the routine you built could be converted into a search-term highlighter. There's already a jQuery plugin that highlights, called, conveniently- enough, highlight!

[jQuery] Re: trying to find the first instance of a person's name on the page

2008-02-24 Thread sspboyd
Excellent suggestions. I will have to investigate a bit more on how much text will be on the different pages and whether I can make any improvements on the number of names returned in each xml file. (I might also be able to get list of names as a json feed). I was also thinking that the routine

[jQuery] jQuery Form Plugin (jqForm) problem on beforeSubmit callback

2008-02-24 Thread Nazgulled
My question is pretty simple... I have the code posted above and it doesn't work. To test the problem, load the page (of course lol), click on "Submit" and you'll see a message stating what the script is going to do next, then, click on "Show!". You'll see the value "null" and I don't understand w

[jQuery] Re: Can jQuery create Drop Caps?

2008-02-24 Thread Dave Stewart
:)

[jQuery] Re: Problems with the overlay created by SimpleModal in Opera

2008-02-24 Thread Nazgulled
In case anyone wants to know I think I found out the problem: The thing is, in Opera, the whole page(100%) has to be filled with something. I mean, if your page is long enough (you have a vertical scrollbar), you won't have this problem. But lets say your page only fills like 70% of the screen, t

[jQuery] Kudos to everyone who had anything to do with "jQuery in Action"

2008-02-24 Thread timothytoe
It's very well done. Just got my preorder from Amazon yesterday. Read some of it last night and flipped through more of it this morning. I already feel illuminated.

[jQuery] Re: Can jQuery create Drop Caps?

2008-02-24 Thread Rus Miller
Thanks David. That's perfect! On Feb 24, 12:22 pm, Dave Stewart <[EMAIL PROTECTED]> wrote: > Yup - you need jQuery and Regular Expressions: > > var elements = $('a[class="tablink"]') > elements.each( > function(){ > var html = $(this).html() > html = html.replace(/([A-Z])/g,

[jQuery] Re: Treeview Ajax Loaded Nodes?

2008-02-24 Thread Jörn Zaefferer
Thomas Hill schrieb: I'm using jQuery 1.2.2, and treeview 1.4, and I've read as much as I could find on treeview. I can't seem to find, however, a demo on loading specific nodes with dynamic data when they are expanded. The async demo doesn't necessarily show how to do that, either, unless it's

[jQuery] Re: [validate] maxLength for elements that are not required

2008-02-24 Thread Jörn Zaefferer
Yuval schrieb: Hey Jörn, It seems that whenever I define an element as not required:false and set a maxLength the validation plugin wouldn't bother limiting the field to the maxLength, When I switch to required:true - everything works perfectly. Is there a solution to that? Could you create

[jQuery] Re: when an AJAX API documentation!!

2008-02-24 Thread Jörn Zaefferer
oscarml schrieb: HI, do you know if it planned to develop an API documentation pure AJAX. I shouldn't say this, but something similar to extJS/doc hehe. There are currently two options, both not quite perfect but stil helpful: http://remysharp.com/jquery-api/ http://dev.jquery.com/view/trun

[jQuery] Re: jQuery Form Validation Plugin with Rails

2008-02-24 Thread Jörn Zaefferer
jmcervera schrieb: Hello, This is my first post in this group. I am trying to use the Form Validation Plugin with Ruby on Rails, and I can´t make it work. It seems only working with forms using the 'get' action, not with 'post. An this goes against the REST principles of the architecture I am u

[jQuery] Re: Validating not happening in IE6 & no error removal on keyup

2008-02-24 Thread Jörn Zaefferer
scud schrieb: I fixed the IE6 not-working issue by not using the packed version of the validate.js, so apparently the packed version is busted in IE6. I went with the full text version and almost all seems to be fine. I still have the problem of the fields not being checked as a user enters in

[jQuery] Re: Can jQuery create Drop Caps?

2008-02-24 Thread Dave Stewart
Yup - you need jQuery and Regular Expressions: var elements = $('a[class="tablink"]') elements.each( function(){ var html = $(this).html() html = html.replace(/([A-Z])/g, '$1') $(this).html(html) } )

[jQuery] Re: trying to find the first instance of a person's name on the page

2008-02-24 Thread Dave Stewart
As well, when your name list gets rather large, I'm sure other pre- processing routines could speed things up. For example, you could split the XML list into 26 sections, based on First Name, then text the html for which Capital letters it contains. You then only loop through again for those names

[jQuery] Re: trying to find the first instance of a person's name on the page

2008-02-24 Thread Dave Stewart
Hey Stephen, RegExps are always going to be slower than a basic indexOf, so perhaps when you loop through the names you could try running an indexOf first, then if it comes out positive, only then do you the RegExp replacement. I imagine that there would be a cutoff point where the performance in

[jQuery] Are Drop Caps possible?

2008-02-24 Thread Rus Miller
I'd like to turn all instances of "tablink": Drop Cap Into this: Drop Cap That is, place a span around each uppercase letter. Is it possible to do? Thanks, Rus Miller

[jQuery] Can jQuery create Drop Caps?

2008-02-24 Thread Rus Miller
I'd like to turn all instances of "tablink": Drop Cap Into this: Drop Cap That is, place a span around each uppercase letter. Is it possible to do? Thanks, Rus Miller

[jQuery] Re: trying to find the first instance of a person's name on the page

2008-02-24 Thread sspboyd
Dave, That is great! Thanks. I've tested it out with an array of 1000 names as a worst case scenario and it is pretty slow. I'll have to see about refining the list of names if possible to keep it as small as possible. Thanks again, Stephen On Feb 23, 7:16 pm, Dave Stewart <[EMAIL PROTECTED]> wr

[jQuery] Re: jQuery is killing my xhtml strict validation

2008-02-24 Thread Klaus Hartl
As long as you're serving XHTML as text/html it isn't XML anyway. It's just HTML with some weird slashes where they don't belong. Any browser will use its tag soup parser. Mime type matters, Doctype not. http://annevankesteren.nl/2004/07/mime And that's why you can safely use HTML if you add el

[jQuery] Can jQuery create Drop Caps?

2008-02-24 Thread Rus Miller
I'd like to turn this: Iconic Figures into this: Iconic Figures Is there a way for jQuery to search and replace uppercase letters?

[jQuery] Re: jQuery is killing my xhtml strict validation

2008-02-24 Thread Karl Rudd
Yup. Nothing to be done about it. Karl Rudd On Sun, Feb 24, 2008 at 3:18 PM, timothytoe <[EMAIL PROTECTED]> wrote: > > OK. Since I'm creating so much of the web site on the fly, there's > really no way of knowing whether I'm valid or not, is there? I mean > it's pretty easy to make my trivial