[jQuery] Re: Classis ASP integrating Async Treeview Plugin using getJSON. Stops working when using response.write [variable name] instead of simple JSON string

2010-01-28 Thread MorningZ
I'd try: Response.ContentType = application/json right before the first writing On Jan 28, 2:32 pm, Jason Knight jason.t.kni...@gmail.com wrote: Hi all, I've loved using jQuery these past few months, but I'm really pulling my hair our here. The following is the endpoint asp code that

[jQuery] Re: Append Variable to Select box

2010-01-26 Thread MorningZ
on issue you have is in one place you seem to have a variable names fresizeSizeNOPX then later on you have $(#px).val(fresizeSizeNOPX); which is a string value, not the value of the variable you used earler second issue, or confusion, what do you think or want this to be in the selector:

[jQuery] Re: jQuery now integrated into Visual WebGui web/cloud platform

2010-01-26 Thread MorningZ
What a poor marketing-oriented post... First off, you seem to make the assumption that anyone using MS's tool is knee deep in session management and security. *they're not*, as the baked in Profile, Roles, and Membership objects all take care of that, and once they are setup, a single line in

[jQuery] Re: Internet Explorer line 1 char 1 code 0

2010-01-25 Thread MorningZ
Typically bad HTML leads to that take your URL or the view source text and run it through an HTML Validator On Jan 25, 9:35 am, Toktik toktik...@gmail.com wrote: I'm using jQuery+drupal and some jQuery plugins. All is ok with Firefox. But in IE's i'm receiving problem like this. Line: 1

[jQuery] Re: Internet Explorer line 1 char 1 code 0

2010-01-25 Thread MorningZ
No error which can call this type error. I do not have any clue what that is suppose to mean.. sorry

[jQuery] Re: how to get href value

2010-01-23 Thread MorningZ
or how it's slower say there's 100 a on the page (which wouldn't be too uncommon for say, a blog site), that's 100 event's wired up sitting in ready to go... using event delegation, one single event is wired up and if a user clicks somewhere (and really, how much clicking does a web page

[jQuery] Re: how to get href value

2010-01-23 Thread MorningZ
but I haven't had much luck getting .html.href to work in the past. nor should you have *any* luck, since that is totally bad syntax

[jQuery] Re: UI slider execute function on change or slide

2010-01-22 Thread MorningZ
I am using the ARIA Slider from that would have been fantastic to have known *from the beginning*, I thought you were using jQuery UI Slider, hence my reply 3 posts ago with a link to the example, which explains now why you didn't read, or seemingly even looked at... whatever though, good luck

[jQuery] Re: New Forums

2010-01-22 Thread MorningZ
To add to Richard's list * Ability to post code without having Google Groups code f_ck it up* I'm not sure why people are voting and all that, it's done, it's decided, it's time to get with the program Besides, as Richard pointed out, the mailing list right here will still exist, it just won't

[jQuery] Re: New Forums

2010-01-22 Thread MorningZ
On Jan 22, 4:13 pm, John Arrowwood jarro...@gmail.com wrote: Silly thought: What if the forums were 'published' to the mailing list, and the mailing list were made read-only?  That is, every time a post is published on the forum, it is automatically sent to the mailing list.  Then, in the

[jQuery] Re: class={title:'test'}

2010-01-21 Thread MorningZ
No, you don't have it right, it's the MetaData plugin in use :-) http://pupunzi.open-lab.com/mb-jquery-components/jquery-mb-extruder/ one of the dependencies listed is jquery.metaData.js On Jan 21, 3:46 pm, Bruno Santos bit...@gmail.com wrote: Hiho! I believe that you are trying to add

[jQuery] Re: UI slider execute function on change or slide

2010-01-21 Thread MorningZ
You have $('#sizer'). but no object with the id of size in your markup where is the slider at? On Jan 21, 4:20 pm, Mircea i...@amsterdamsat.com wrote: Hi, I want to make the UI slider to set a font-size to a .cica class. The setfontsize variable works but I can not succeed to make the

[jQuery] Re: UI slider execute function on change or slide

2010-01-21 Thread MorningZ
you should look at the demos http://jqueryui.com/demos/slider/ the .slider() call is supposed to be on a div and in turn the events of that slider div set the value on your form field and even if select name=sizer id=speed is correct, then the jQuery selector of $(#slider) won't get that

[jQuery] Re: UI slider execute function on change or slide

2010-01-21 Thread MorningZ
Ick, no follow the example on the link above the slider gets attached to an *empty* div... you're applying it to a div that contains everything else that link above shows the right syntax, and definitely works follow that and you should be all straight On Jan 21, 5:20 pm, Mircea

[jQuery] Re: UI slider execute function on change or slide

2010-01-21 Thread MorningZ
Also to note i don't think you can have values like you have in your select by changed by a slider... 10,20, 21, 30, 40 how is someone supposed to choose 21? if the slider increment was set for increments of 10, then 10, 20, 30 and 40 are taken care of if the slider is setup properly...

[jQuery] Re: class={title:'test'}

2010-01-20 Thread MorningZ
Here is the plugin http://plugins.jquery.com/project/metadata in your example of div id=extruderLeft class={title:'test'} var x = $(#extruderLeft).metadata().title; console.log(x); would show test in the Firebug console On Jan 20, 4:34 am, fran23 f...@lavabit.com wrote: I don't know how to

[jQuery] Re: Live function syntax

2010-01-20 Thread MorningZ
How should I use it right? there doesn't seem to be anything wrong with your syntax (with the .live part anyways, your usage of .val() has no impact on your issue) got more code to show? are you using at least the 1.3.2 version of the library? also take into account that id's on the page

[jQuery] Re: Filtering a jQuery Object variable

2010-01-20 Thread MorningZ
http://docs.jquery.com/Traversing/filter#expr so Foo = Foo.filter(:visible); On Jan 20, 1:52 pm, BKahuna j...@twistedlogictechnology.com wrote: I've got a variable that holds a jQuery object.  I would like to filter out all of the visible elements in that jQuery object.  The problem is

[jQuery] Re: UNSUSCRIBE

2010-01-19 Thread MorningZ
You click on Edit my membership options on the right and then go to the email options No email On Jan 19, 6:27 am, Juan Ignacio Borda juanignaciobo...@gmail.com wrote: unsuscribe  juanignacioborda.vcf 1KViewDownload

[jQuery] Re: new forums used?

2010-01-18 Thread MorningZ
As long as your questions/issues continue to get answered, it shouldn't matter where you post as there's plenty of people on one or the other..or both :-) At some point perhaps this mailing list will just get turned off, but there should, and appears to be, a transition period where both are

[jQuery] Re: Select part of text and add a CSS class

2010-01-18 Thread MorningZ
yes, it indeed is selection = getSelectedText(); if(selection.length = 3) { $(this).html($(this).html().addClass(selected); } to selection = getSelectedText(); if(selection.length = 3) { var $spn = $(span/span).html(selection).addClass (selected); // append/set this '$spn'

[jQuery] Re: Select part of text and add a CSS class

2010-01-18 Thread MorningZ
it probably is working, but you failed to *do* anything with the generated span tag... that's why i added as a comment: // append/set this '$spn' inside another DOM object On Jan 18, 12:29 pm, Mircea i...@amsterdamsat.com wrote: Thanx for the code. It does not work to me. I am a newbye is

[jQuery] Re: Select part of text and add a CSS class

2010-01-18 Thread MorningZ
the variable name/reference is $spn so it would be: $(p).append($spn); your line of $(p).append(spn) does exactly what you told it to do :-) On Jan 18, 2:34 pm, Mircea i...@amsterdamsat.com wrote: I've added $(p).append(spn) It ads only the text spn at the bottom of the text. I

[jQuery] Re: click action effect/problem

2010-01-18 Thread MorningZ
Hope this helps put you on the path http://jsbin.com/ejuga3 (run) http://jsbin.com/ejuga3/edit (edit) Event Delegation = awesome knowledge to have http://www.learningjquery.com/2008/03/working-with-events-part-1 On Jan 18, 4:07 pm, Legostrat legost...@gmail.com wrote: Hey, I've got a

[jQuery] Re: Select tab from link

2010-01-17 Thread MorningZ
...@cmilc.com wrote: MorningZ, Thanks for your reply. Something was missing from your syntax so I made one small change to your script: $(document).ready(function(){         var $tabs = $(#tabs).tabs();         $(a[id^='link']).live(click, function() {                 var hit = this.id.match

[jQuery] Re: autocomplete returning multiple identical values in dropdown

2010-01-17 Thread MorningZ
You pulling the data from server side code? if so, it's that codes responsibility to return unique values On Jan 17, 4:25 pm, rumremix sdiv...@gmail.com wrote: The autocomplete plugin I obtained fromhttp://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/is working great aside from

[jQuery] Re: background mouseover fade effect

2010-01-17 Thread MorningZ
For sure check out the color.js plugin (Google jQuery color.js and you'll find it)... it can animate the backgroundColor property, as for color, instead of none, you should be able to use transparent or better yet, just fade to the current page/DOM object background color On Jan 12, 5:25 pm,

[jQuery] Re: Select tab from link

2010-01-16 Thread MorningZ
There's no need to repeat the code... you can even do it with .live so it'll work if there's 1 or 100 tabs $(document).ready(function(){ var $tabs = $(#tabs).tabs(); $('a[id^='link').live(click, function() { var hit = this.id.match(/^link(\d+)$/);

[jQuery] Re: iPhone: split jquery script file

2010-01-14 Thread MorningZ
but what would be the point? say you got jQuery down to 10k in size that leaves 15k left for images and HTML and etc, it's just going to hit that limit and purge the cache anyways. but just a few requests sooner keep with the minified and gzipped version to keep the data sent across

[jQuery] Re: iPhone: split jquery script file

2010-01-14 Thread MorningZ
doesn't count (the limit applies to uncompressed code) but minifying is a must I guess. On Thu, Jan 14, 2010 at 3:13 PM, MorningZ morni...@gmail.com wrote: but what would be the point? say you got jQuery down to 10k in size  that leaves 15k left for images and HTML and etc, it's just

[jQuery] Re: autocomplete: extra fields

2010-01-14 Thread MorningZ
I tried for so long to accomplish what you ask (which i think is tell the server side autocomplete target what field am i?), only to throw up my hands in dismissal... I finally just did it this way: say i had: input type=text id=AC_Name class=ac / input type=text id=AC_Email class=ac / input

[jQuery] jQuery 1.4 is released

2010-01-14 Thread MorningZ
Just saw on my RSS reader that: http://jquery14.com/day-01/jquery-14 Impressive that it's already hosted by Google Ajax Libraries

[jQuery] Re: JSON and variables

2010-01-14 Thread MorningZ
Loop through the data, not the inputs so like: $.each(data, function(k, v) { var txt = document.getElementById(k); if (txt) { $(this).val(v); } else { // could not find input } }); On Jan 14, 3:35 pm, T.J. Simmons theimmortal...@gmail.com wrote: Hi

[jQuery] Re: Autocomplete incompatible with certain struts-tiles-javascript apps

2010-01-14 Thread MorningZ
is that a straight dump of your code? if so, you don't have script tags around your JavaScript after the closing /html tag On Jan 14, 5:24 pm, j...@verax joti.bis...@gmail.com wrote: Hi jQuery guru, I have an application based on struts and tiles. Validation is done by javascript at a

[jQuery] Re: Converting a javascript to jQuery

2010-01-13 Thread MorningZ
While i only have a minute to help, i can point out quickly that var divs = document.getElementsByTagName('DIV'); var divCounter = 1; for(var no=0;nodivs.length;no++){ if(divs[no].className=='breakbg'){ divs[no].onclick =

[jQuery] Re: Shortest possible method of adding/removing class on mouseenter/leave without a plugin

2010-01-13 Thread MorningZ
i don't understand the .each part jQuery is already going to do that $('#nav li').bind('mouseenter mouseleave', function() { $ (this).toggleClass('hover'); }); *should* be equiv, although i must say that's untested and how about *zero* jQuery code and just using CSS's :hover pseudo?

[jQuery] Re: Tabbed view and Flash Movies

2010-01-13 Thread MorningZ
This is completely untested, but it would seem to make sense to work Given this HTML div id=tabs ul lia href=video1.phpTab 1/a/li lia href=video2.phpTab 2/a/li lia href=video3.phpTab 3/a/li /ul div/div div/div

[jQuery] Re: added form elements not sent using Firefox

2010-01-12 Thread MorningZ
Could this be jquery related? Do you have any example code to build an answer upon? On Jan 12, 2:49 am, Eric Cope eric.c...@gmail.com wrote: Hello all, I am using jquery to copy a DIV containing some form elements. The copy is appended to the DIV in another DIV to allow an unlimited number

[jQuery] Re: long-term browser support strategy

2010-01-12 Thread MorningZ
If w3schools' statistics are at all accurate, there are about the same number of people using IE 6 as either IE 7 or 8 Stats like that are nice, but I'd be curious to see what kinds of browser stats there are for other people running a (relatively) busy site? real people, like on this list...

[jQuery] Re: Does anybody know when jquery 1.3.3 or 1.4 will be released?

2010-01-12 Thread MorningZ
Just to follow up on this, looks like the RC1 version of 1.4 is close... really close :-) Damn IE6 !! From: http://twitter.com/jeresig # Grrr, phantom bug popped up in IE 6 just as I was about to push 1.4rc1 live. # Need sleep in order to fight, 1.4rc1 tomorrow. # - about 11 hours ago from

[jQuery] Re: Argh!! IE8!

2010-01-12 Thread MorningZ
What makes it hard to follow your code, what is d?$(document).click(function(d){ why is is about clicking on the document? what is a?if($(#acc+a).is(:visible)){ also, have you considered moving away from :visible? it's got it's quirks and niches going across browsers... maybe using

[jQuery] Re: Function help

2010-01-12 Thread MorningZ
$('#new').live('click', function() { addRecord($(this).closest(form).attr(id)); }); function addRecord(form_id) { .. stuff ... });

[jQuery] Re: Disable Submit

2010-01-12 Thread MorningZ
Personally i suggest using BlockUI to overlay the whole form... that way 1) not possible for your user to resubmit 2) gives dead obvious indication something is going on 3) simple as can be to use On Jan 12, 2:49 pm, Dave Maharaj :: WidePixels.com d...@widepixels.com wrote: I have a form i am

[jQuery] Re: Disable Submit

2010-01-12 Thread MorningZ
Dave here's a quick 2 minute example of this topic and the other topic http://jsbin.com/efona/edit (code) http://jsbin.com/efona (run) very little jQuery to wire that up :-)

[jQuery] Re: Disable Submit

2010-01-12 Thread MorningZ
btw, i forgot to add return false; to the end of both button events there, that would be needed

[jQuery] Re: Ajax forms help

2010-01-11 Thread MorningZ
But if I am returning json I cant return my normal html I don't understand why... I pretty much exclusively use JSON back and forth in my jQuery AJAX calls and have a standard JSON object i return: { HasError: boolean, Message: string. Data: object, Count: integer } Many times i'll

[jQuery] Re: Problem with jquery tabs on live site

2010-01-11 Thread MorningZ
Are you looking to make an AJAX request to load the tab? i don't think you are considering your markup... change div id=relatedTabs class=sidebarSection p class=infoText sidebarTitlestrongRelated/strong/p ul id=relatedTabBar lia href=article/goerlitzer-

[jQuery] Re: Problem with jquery tabs on live site

2010-01-11 Thread MorningZ
yes, change the a tags in the code above as shown... but putting a URL there you are telling the tabs plugin go get this via AJAX request On Jan 11, 11:43 am, Coxy step...@bungert.co.uk wrote: No I'm not, and in my static mock-up everything was ok. It does this on the live site, and I want to

[jQuery] Re: Problem with jquery tabs on live site

2010-01-11 Thread MorningZ
yes, change the a tags in the code above as shown... by putting a URL there you are telling the tabs plugin go get this via AJAX request See: http://jqueryui.com/demos/tabs/#ajax - Fetch external content via Ajax for the tabs by

[jQuery] Re: Problem with jquery tabs on live site

2010-01-11 Thread MorningZ
it can be easier than that, not so many variables to worry about :) right before $(#relatedTabs).tabs(); put $(#relatedTabs ul a).attr(href, function() { if ($(this).attr(href).indexOf(#) -1) { return # + $ (this).attr(href).split(#)[1]; } else { $(this).attr(href); } }); On Jan 11,

[jQuery] Re: Ajax forms help

2010-01-11 Thread MorningZ
\n}pthis is a good test/p         But how would I display only the html section and clean it so its not all         slashed and escaped?         Thanks         Dave         -Original Message-         From: MorningZ [mailto:morni...@gmail.com]         Sent: January-11-10 11:44 AM

[jQuery] Re: Fade question

2010-01-11 Thread MorningZ
I used the color plugin for exactly that... works really well http://plugins.jquery.com/project/color http://dev.jquery.com/~john/ticket/fx-rewrite2/ On Jan 11, 5:35 pm, Dave Maharaj :: WidePixels.com d...@widepixels.com wrote: When i add a new record its inserted into a div. How can I make it

[jQuery] Re: Fade question

2010-01-11 Thread MorningZ
Message- From: MorningZ [mailto:morni...@gmail.com] Sent: January-11-10 7:30 PM To: jQuery (English) Subject: [jQuery] Re: Fade question I used the color plugin for exactly that... works really well http://plugins.jquery.com/project/colorhttp://dev.jquery.com/~john/ticket/fx-rewrite2

[jQuery] Re: any help on this!!!

2010-01-11 Thread MorningZ
to start with... a button doesn't toggle you want the click event there then you'll want to do a check to see if the li is blue, if it is, remove blue, otherwise add it better use, use a CSS class with color: blue .blue { color: blue; } then you can say $('#jqdt').find('ol

[jQuery] Re: looping through form elements.

2010-01-10 Thread MorningZ
$(':input').each(function(idx, item) { alert(idx); }); There are lots of form controls that aren't input elements. They are all in the form's elements collection. But the :input selector will also get non-input elements: http://docs.jquery.com/Selectors/input Overview: Matches all

[jQuery] Re: Can we use jquery for paging and sorting in asp.net 2.0 ?????

2010-01-08 Thread MorningZ
Jackson as professional programmer who exclusively does .NET, allow me to tell you that getting into jQuery changes *everything* .NET's built in controls and jQuery (or any AJAX library in general minus MS Ajax or whatever they call it nowadays) do not play nicely together... in the

[jQuery] Re: help fix syntax

2010-01-07 Thread MorningZ
When you make an AJAX call, what this references changes $('a.del').click(function() { var $parent = this.parent(); //i assume you want the parent of the a $.post('/img/del.php') , {'img': img }, function(){ if (e.status == 'deleted') {

[jQuery] Re: JQuery files(.js) required

2010-01-07 Thread MorningZ
None of those are redundant, but three tips: 1) make sure you are using the minified versions in the production enviroment 2) if you are really going to put the files together, which will be minimal gain, make sure that each and every section ends with a semi- colon, so the code doesn't get run

[jQuery] Re: JQuery files(.js) required

2010-01-07 Thread MorningZ
oh yeah, the custom has the functionality built in... i was thinking core.. my bad On Jan 7, 9:18 am, Mike Alsup mal...@gmail.com wrote: None of those are redundant, but three tips: Actually all of the individual jquery UI files are redundant with jquery.ui-1.7.2.custom.min.js if that

[jQuery] Re: img src replacement

2010-01-07 Thread MorningZ
$(this).attr({'img src' : './images/avail_hover.png'}); there is no img src attr, but there is src, so $(this).attr('src', './images/avail_hover.png'); and there's a second event to hook on the .hover event is when you mouse off, so use that event to revert back to whatever image was there On

[jQuery] Re: img src replacement

2010-01-07 Thread MorningZ
. had it set as src. but nothing seemed to be working then so i messed around and changed it to img src. any other ideas as to why it might not be working? On Jan 7, 11:41 am, MorningZ morni...@gmail.com wrote: $(this).attr({'img src' : './images/avail_hover.png'}); there is no img src attr

[jQuery] Re: img src replacement

2010-01-07 Thread MorningZ
a different function to do it? is that possible? i am going to try to add a the remove attr function first, then run the current one and see if that works... On Jan 7, 12:25 pm, MorningZ morni...@gmail.com wrote: Perhaps the path to the image itself isn't ./images ? Other than that,maybe

[jQuery] Re: img src replacement

2010-01-07 Thread MorningZ
wrote: I put up my site quickly here:http://www.glenhealy.com/ the image should be at the bottom in the footer, if you can view the code, maybe you can see what the deal is? i used the exact code used in the example so there has to be a file issue On Thu, Jan 7, 2010 at 12:44 PM, MorningZ

[jQuery] Re: img src replacement

2010-01-07 Thread MorningZ
here's your exact code working http://jsbin.com/aguji/edit http://jsbin.com/aguji On Jan 7, 1:34 pm, MorningZ morni...@gmail.com wrote: ready to know what a major problem is?? your script.js is: $(document).ready(function() {    // do stuff when DOM is ready   $(#footer #footer-contain

[jQuery] Re: img src replacement

2010-01-07 Thread MorningZ
back and forth? or would I have to create a whole new function? On Jan 7, 1:38 pm, MorningZ morni...@gmail.com wrote: here's your exact code working http://jsbin.com/aguji/edithttp://jsbin.com/aguji On Jan 7, 1:34 pm, MorningZ morni...@gmail.com wrote: ready to know what a major problem

[jQuery] Re: img src replacement

2010-01-07 Thread MorningZ
it is twitchy im thinking what if it were possible to add like a ms or 2 to the actual hover effect and they will blend more. instead of fading out they fade into one another i guess is what im trying to say On Thu, Jan 7, 2010 at 2:05 PM, MorningZ morni...@gmail.com wrote: like so? http

[jQuery] Re: iTunes Style Slider

2010-01-06 Thread MorningZ
it's been coded in jQuery before, like http://www.blarnee.com/projects/coverflow/ i recall that one of the people on the jQuery UI team was messing around with that effect as well On Jan 5, 10:22 pm, Matt Quackenbush quackfu...@gmail.com wrote: Hello, I found an iTunes style slider/rotator

[jQuery] Re: Expectetd identifier, string on number

2010-01-06 Thread MorningZ
Wonder why that is? https://developer.mozilla.org/En/Core_JavaScript_1.5_Reference/Reserved_Words it's just that browsers other than IE handle it (much) more gracefully :-) Also just a quick tip on your code in general... if you know the ID of something, then use *just* the ID for the

[jQuery] Re: ajax image

2010-01-06 Thread MorningZ
I want all my ajax calls to run through the same ajax function What same ajax function? On Jan 6, 10:29 am, Mean Mike mcgra...@gmail.com wrote: ok so I figured out that you can put in image in your page using .load (imageloader.php) but is there a way to load an image using regular ajax

[jQuery] Re: ajax image

2010-01-06 Thread MorningZ
through $.ajax({.}); I made a function that gets passed all the parameters that I want in the ajax call oddly enough i can't get load to work right either i just get Array returned On Jan 6, 10:33 am, MorningZ morni...@gmail.com wrote: I want all my ajax calls to run through the same

[jQuery] Re: next release?

2010-01-06 Thread MorningZ
A post from just 2 days ago :-) http://groups.google.com/group/jquery-en/browse_thread/thread/a9fcfc8e8deb0106?hl=en# On Jan 6, 12:47 pm, johnantoni indieh...@gmail.com wrote: hi, any idea when the next version of jQuery is to be released?

[jQuery] Re: Firebug gives a $ is not defined error

2010-01-06 Thread MorningZ
FireBug (http://www.getfirebug.com) would be a huge help for you to find out why On Jan 6, 11:31 pm, elvis_wu w.s.q...@gmail.com wrote: The same pages could be run correctly on both IE and Firefox untill yesterday. Now on IE they can still run normally, but on Firefox I got a $ is not defined

[jQuery] Re: New to JS and jQuery

2010-01-05 Thread MorningZ
You should pay attention to your selectors :) you have $('baritem').click(function() that looks for baritem DOM objects but $('#baritem').click(function() will find div id=baritem On Jan 5, 2:41 pm, Valerij valeri...@gmail.com wrote: This still wont work.. I've even tried copy your

[jQuery] Re: Jquery color animation problem

2010-01-05 Thread MorningZ
I just went through looking for color animation as well this plugin http://plugins.jquery.com/project/color did the trick.. works great On Jan 5, 3:43 am, Md. Ali Ahsan Rana ranacser...@gmail.com wrote: I am trying to do it: $(this).animate({opacity:1},700); it looks fine in firefox, but

[jQuery] Re: New to JS and jQuery

2010-01-05 Thread MorningZ
 pm, MorningZ morni...@gmail.com wrote: You should pay attention to your selectors :) you have $('baritem').click(function() that looks for baritem DOM objects but $('#baritem').click(function() will find div id=baritem On Jan 5, 2:41 pm, Valerij valeri...@gmail.com wrote

[jQuery] Re: How to check whether an element is bound to an event or not?

2010-01-04 Thread MorningZ
There is an DOM element, which is reloading(replaced by ajax response with same id/tag), then the event isn't no more bounded. I want it to be bounded all the time instead of all the overhead of binding/unbinding/looking-to-do-either, why not: a) just replace the contents of the DOM object b)

[jQuery] Re: jquery.js and jquery-1.2.6.pack.js conflict

2010-01-04 Thread MorningZ
how can i get the full version of files? http://code.google.com/apis/ajaxlibs/documentation/index.html#jquery

[jQuery] Re: Does anybody know when jquery 1.3.3 or 1.4 will be released?

2010-01-04 Thread MorningZ
January 14th  is only 10 days away. and yet, there's no official announcement anywhere about it..i wouldn't bet on it.. as it stands right this second, Alpha 2 is the latest official announced version: http://blog.jquery.com/2009/12/18/jquery-14-alpha-2-released/ chances that it will go

[jQuery] Re: jquery UI sortable, how can i get the text of the li that i just moved ?

2010-01-04 Thread MorningZ
i tried: $(ui.item).text() but i get an ui is not defined error that would potentially be a valid way to do it, but without any of your code to work with, it's hard to help with that

[jQuery] Re: Accessing REST API via JQUERY?

2010-01-04 Thread MorningZ
$.getJSON gets, well, JSON data... it doesn't handle XML data you can use the generic $.ajax method (which $.getJSON ultimately uses anyways, but just with the tpye set to JSON) and handle the data in the callback event On Jan 4, 4:06 pm, Simon simon@rewardstream.com wrote: Hi there.

[jQuery] Re: How to retrieve the selected cells

2010-01-04 Thread MorningZ
1) How do I know if a cell is selected? Is there is is_selected( ) function in jQuery? There's the :selected selector, but it's for valid form fields, not table cells... in your case, $(table td.sel) would give you all selected table cells I have no idea what your PHP looks like, but one way

[jQuery] Re: Help needed with textarea.

2010-01-02 Thread MorningZ
The issue seems to be that you are thinking that the second for loop will run after the keypress event is called... *it's not*.. it will only be called on document.ready... I was going to use jsbin.com to work up an example for you, but i have absolutely no idea what the first for loop's purpose

[jQuery] Re: jquery sortable question

2010-01-02 Thread MorningZ
jQuery core's method .index() would be a solution here's an example: http://jsbin.com/ozoda/edit On Jan 2, 12:17 am, laredotorn...@zipmail.com laredotorn...@zipmail.com wrote: Hi, I'm using the sortable plugin with JQuery 1.3.  After a list item has been moved to a new place, how do

[jQuery] Re: Formatting long chains of jQuery code

2010-01-02 Thread MorningZ
I would guess preferred = however someone wants to do it as long as it works what you have is perfectly fine.. and bonus points for it working :-) On Jan 2, 9:03 pm, Šime Vidas sime.vi...@gmail.com wrote: Is there a prefered way of formatting jQuery code when you have 5 or more chained

[jQuery] Re: How do I extract this value?

2010-01-02 Thread MorningZ
var hit = $(#myid).find(a).attr(href).match(/^.+\((\d+)\)$/); if (hit hit.length == 2) { // hit[1] = 1234 in the example you provided } else { // didn't find the value } On Jan 2, 9:13 pm, laredotorn...@zipmail.com laredotorn...@zipmail.com wrote: Hi, I am using JQuery 1.3.  I have

[jQuery] Re: jquery.js and jquery-1.2.6.pack.js conflict

2010-01-01 Thread MorningZ
also, while debugging/diagnosing: use the *full* versions of the files, do not use packed or minified, as they complicated matters a lot

[jQuery] Re: jquery.js and jquery-1.2.6.pack.js conflict

2010-01-01 Thread MorningZ
I did tried to remove one library but if i remove jquery-1.2.6.pack.js then image gallery doesnot work and if i remove jquery.js menus stop working Well, maybe instead of pointing fingers to jQuery as the issue, how about looking into fixing either of your code, the image gallery would be the

[jQuery] Re: Toggle link Needs to Be UNDERNEATH!!!

2009-12-30 Thread MorningZ
There's multiple issues with the code quoted below... 1) you have this selector: $('[class^=toggle-item]) but there is no sign of anything in the HTML shows that has any class name that starts with toggle-item 2) related to #1, the attribute class is *not* a simple string to all browsers, you

[jQuery] Re: If radio button checked - do stuff

2009-12-30 Thread MorningZ
i think the problem is with your selector (and this is above and beyond the psuedo error $(form input[name=setting1]:radio).filter(':checked').click that will only bind the click event to checked radio buttons, which on page load wouldn't be the desired behaviour I've fallen for event

[jQuery] Re: opera and :visible selector

2009-12-30 Thread MorningZ
I'm not so sure the blanket statement :visible doesn't work in Opera, as Opera 10 runs the jQuery Docs example just fine: http://docs.jquery.com/Selectors/visible Works fine for me anyways perhaps it's not selecting what you think it should be? and FF/ Chrome/IE compensate for it On Dec

[jQuery] Re: Plugin Authoring and $.extend

2009-12-30 Thread MorningZ
anything that the docs doesn't explain properly? it pretty much combines two objects, saving the result in the object specified as the first parameter... in Mike's awesome article, he has default values but if the user passes in options, the .extend() method overwrites the defaults with what the

[jQuery] Re: Plugin Authoring and $.extend

2009-12-30 Thread MorningZ
oops.. that should say: the third: $.extend(obj2, obj3);

[jQuery] Re: opera and :visible selector

2009-12-30 Thread MorningZ
How about seeing if $(#main-form :input).filter(:visible).serialize() works across all browsers On Dec 30, 2:21 pm, phatfish phatf...@gmail.com wrote: On Dec 30, 5:50 pm, MorningZ morni...@gmail.com wrote: I'm not so sure the blanket statement :visible doesn't work in Opera, as Opera 10

[jQuery] Re: autocomplete plugin not working in firefox

2009-12-30 Thread MorningZ
Do you have FireBug installed (you should!) to see if the plugin at least tries to make the request? http://www.getfirebug.com On Dec 30, 8:23 pm, mary ann marya...@gmail.com wrote: I'm using the autocomplete plugin.  The following script works in IE, but doesn't work in Firefox.  It doesn't

[jQuery] Re: jQuery suggestion

2009-12-29 Thread MorningZ
Writing the code that way is not only good for code completion/ suggestion but also good for syntax checking But it's also bad to repeat code which results in more weight which is exactly why code like that is written like so and people's need for speed is going to far outweight your

[jQuery] jQuery in Action = $15 off today (12/28)

2009-12-28 Thread MorningZ
Just a heads up to people on this list Manning Publications is running a special of $15 off their books today only... one of those books is the excellent (I'd almost say *required*) read jQuery in Action: http://www.manning.com/bibeault/ Just enter dotd1228 in the Promotional Code box when

[jQuery] Re: ajax success event does not work

2009-12-28 Thread MorningZ
try also catching the error event and see what the problem is (which make no doubt about it, something is wrong with the response for jQuery to not go into success $.ajax({ type: POST, url: submit1.php, data: $(#regist).serialize(),

[jQuery] Re: wild card selectors question

2009-12-28 Thread MorningZ
If it was me, I'm not sure i would hide the row from the user, because as an example, what happens if I accidentally select the 9 choice? by hiding the row from the user's view, you do not give them the ability to fix that mistake... none the less, you can do what you seek without worrying about

[jQuery] Re: Can't get the $.POST working

2009-12-27 Thread MorningZ
but the FLASH chart is not reloading Maybe i am missing something, but where in your shown code above are you attempting to reload anything? your $.post command only has target URL and params specified, not any actions tied to success On Dec 26, 11:00 pm, Tristan tristan.bessou...@gmail.com

[jQuery] Re: open drodown

2009-12-26 Thread MorningZ
If there was an API for it, it would be on the docs page (http:// docs.jquery.com), but in thinking what a select looks like when it's open, it's easy to use some simple code to change the select's size property (http://www.w3schools.com/TAGS/att_select_size.asp) from 1 to # of children and back

  1   2   3   4   5   6   7   8   9   10   >