[jQuery] Re: .load: how to make sure ajax-loader.gif stays visible until the injected html is actually visible?

2009-07-13 Thread MorningZ
I'd switch to the more generic $.ajax syntax, then you have more granular control over your HTML as things happen On Jul 13, 10:32 am, jjshell wrote: > Hi, > > In the below code, the ajax-loader disappears before the html returned > by .load is actually visible in the browser. How can I correc

[jQuery] Re: jQuery syntax question

2009-07-13 Thread MorningZ
$("p", "body#seniors #text")[2]. does not mean "third paragraph" "nth-child" would be what you could use http://docs.jquery.com/Selectors/nthChild#index On Jul 13, 3:09 pm, Matthew wrote: > So it seems like everyday I learn a new way to code the same thing. > What I am trying to do is add

[jQuery] Re: How to implement the UI Slider

2009-07-14 Thread MorningZ
It would be best if: - You explain what you are confused about - You provide some working HTML using a site like LodgeIt http://paste.pocoo.org/ - Perhaps use the dedicated jQuery UI mailing list instead: http://groups.google.com/group/jquery-ui?hl=en Basic things to watch for/do: - Use FireBug

[jQuery] Re: .ajax post to .net page

2009-07-14 Thread MorningZ
With the way .NET works out of the box (http://www.google.com/search? q=ASP.NET+postback+model), no I'd suggest using a generic handler (ashx file) or some other non- postback way to pass and retrieve data from your jQuery On Jul 14, 11:40 am, ricka wrote: > Hi All, > Is there a way to pos

[jQuery] Re: How to add an element to an object?

2009-07-14 Thread MorningZ
Your code and what you are trying to do has nothing to do with jQuery really.. it's all simple JS object stuff (http://www.google.com/search? q=javascript+associative+array), with that pointed out var d = {"one": 1, "two": 2, "three": 3}; d["four"] = 4; would result in d being: { "one": 1, "two"

[jQuery] Re: how to select a child by an attribute

2009-07-14 Thread MorningZ
See "Attribute Filters" http://docs.jquery.com/Selectors On Jul 14, 4:32 pm, "gswa...@synergydatasystems.com" wrote: > I have 2 lists on a page and I have a link set up to remove an li item > from the one list.  I need to check to see if there is a copy of that > item in the other list based o

[jQuery] Re: Jquery url encode

2009-07-15 Thread MorningZ
Honestly, you'd be better off encoding the results on the server during the step "Im using Ajax to get results back" On Jul 15, 6:24 am, Aldo wrote: > Im using Ajax to get results back. > > These results are used to show data and create a link to it: > > Example: > > Name                 Link >

[jQuery] Re: is .closest() included in 1.3.2. minified?

2009-07-15 Thread MorningZ
The minified version is the same code as the full version. just, uh, minified there's nothing removed, that would be silly/pointless if it was so On Jul 15, 4:25 pm, Seth WB wrote: > Hi I'm trying to keep the load time down on my site... many users from > the UK! > > is .closest() included

[jQuery] Re: ASP.NET Placeholder, JQuery, and live() event

2009-07-15 Thread MorningZ
Don't use because as you noted, .NET does not generate that HTML use On Jul 15, 3:42 pm, JoshWithrow wrote: > I have a placeholder that houses controls that starts with it's > VISIBILITY set to FALSE.  This makes the controls non-existant to > JQuery initially.  So I found the LIVE() even

[jQuery] Re: ASP.NET Placeholder, JQuery, and live() event

2009-07-16 Thread MorningZ
at would probably work except PLACEHOLDER does not translate into > HTML tags.  Instead, it is an ASP.NET only control that gives > "PlaceHolder" for controls and the such. > > On Jul 15, 8:21 pm, MorningZ wrote: > > > Don't use > > > > > > be

[jQuery] Re: File uploader with preview like box.net, etc.?

2009-07-17 Thread MorningZ
You'll see stuff like this leveraging Flash, because Flash is an application on the end user's computers that have permissions to view user's files on their computer, which is driving that "preview" functionality JavaScript wouldn't have the ability to do anything with the file location "C:\User

[jQuery] Re: Bug jQuery 1.3.2 & FF3.5 - $("input[name='']")

2009-07-17 Thread MorningZ
i wonder if this would work $("input, textarea").not("[name]").each() . On Jul 17, 9:58 am, false wrote: > This code used to work before i upgraded to FF3.5. Is there any other > way to achive the same thing? > >  $("input[name=''],textarea[name='']").each(function(i) { > >     this.name =

[jQuery] Re: jcarousel - malware-adware?

2009-07-19 Thread MorningZ
It's called a "false positive"... where Spybot *thinks* it's something malicious, but it isn't... if it's really that much a concern to you, and in no should it, then i would suggest not using the plugin On Jul 19, 11:18 am, gauthier2022 wrote: > I had malware/adware two days ago. > > Scanned w

[jQuery] Re: Json GET Method

2009-07-20 Thread MorningZ
the official documentation is a great place to start http://docs.jquery.com/Ajax/jQuery.getJSON#urldatacallback that method will make a GET call and automatically parse the returned data as JSON On Jul 20, 7:21 am, jayz wrote: > Am trying to access a restful service through jquery. > Could an

[jQuery] Re: blockUI problem

2009-07-20 Thread MorningZ
showing some code would be of value to helping others help you... On Jul 20, 4:49 am, Ulici Adrian wrote: > I just started using blockUI plugin for jQuery, and I have a problem > with forms. > I use blockUI to overlay the background and show a form. The problem > is that when I'm trying to acc

[jQuery] Re: order of ajax calls

2009-07-21 Thread MorningZ
Yeah, your first mistake is assuming that the first will be done when the second is called you've got two choices, one with a plugin, one without 1) with plugin... google "jQuery Ajax Queue".. it's an older plugin, but people have said in here that it still works fine 2) put the 2nd getJSO

[jQuery] Re: bug in selectors?

2009-07-21 Thread MorningZ
Its amazing how soon people cry out "bug bug!!" really? On Jul 21, 4:36 am, "pascal.nauj...@googlemail.com" wrote: > Forget it =) My fault:  $('#element_a, #element_b').hide(); > > On Jul 21, 10:33 am, "pascal.nauj...@googlemail.com" > > wrote: > > Hi, > > > when i do this: > > > $(functi

[jQuery] Re: order of ajax calls

2009-07-21 Thread MorningZ
8:15 am, András Csányi wrote: > 2009/7/21 MorningZ : > > > > > Yeah, your first mistake is assuming that the first will be done when > > the second is called > > > you've got two choices, one with a plugin, one without > > > 1) with plugin..

[jQuery] Re: jQuery Conference Update

2009-07-21 Thread MorningZ
We snagged our seats the other day should be a great weekend On Jul 21, 3:57 pm, Rey Bango wrote: > Hi everyone, > > I wanted to let you know that there are only 56 seats left for the > jQuery Conference. 300 is the max. We'll probably sell out by tomorrow. > > If you plan to attend, I wo

[jQuery] Re: Parsing a complicated JSON file with JQUERY !

2009-07-22 Thread MorningZ
"I want to parse it with jquery , I searched in the web but it's seems my json file is a bite complicated" What is that supposed to mean? *what do you want to accomplish?* "i want to parse" doesn't really mean anything and other than there are a lot of characters, there's nothing overly compl

[jQuery] Re: Parsing a complicated JSON file with JQUERY !

2009-07-22 Thread MorningZ
ld anyone please provide me with the sample code ? > > On Thu, Jul 23, 2009 at 4:58 AM, MorningZ wrote: > > > "I want to parse it with jquery , I searched in the web but it's seems > > my json file is a bite complicated" > > > What is that supposed to me

[jQuery] Re: Parsing a complicated JSON file with JQUERY !

2009-07-23 Thread MorningZ
able to access the url or something??? > > On Thu, Jul 23, 2009 at 5:03 AM, MorningZ wrote: > > > $.getJSON( > >   "url_of_json_request", > >   function(json) { > >        $.each(json, function(i) { > >             json[i] // current top level i

[jQuery] Re: Parsing a complicated JSON file with JQUERY !

2009-07-23 Thread MorningZ
Here's a working version to demonstrate (click on the "Output" tab to see it run): http://jsbin.com/emeta/edit just think of the variable "x" coming from a $.getJSON call

[jQuery] Re: load(), cache and IE8

2009-07-23 Thread MorningZ
Add a random query string parameter onto the url of the .load() call (see the code for the AutoComplete plugin for an example) On Jul 23, 9:37 am, LexHair wrote: > I have a table which has an image, an icon and some text in each cell. > I can click an icon in the table cell firing a $.get which

[jQuery] Re: switching jquery tabs in code behind(C#)

2009-07-23 Thread MorningZ
"onclick event" would be: - in the aspx's code? - on the client? if it is in the code, then any running of that postback code is going to cause a page reload, and consequent defaulting to the first tab by default if you want the new page reload to stay on the current tab, then you would emi

[jQuery] Re: jquery.ajax with async=false is not synchronous with remote files

2009-07-30 Thread MorningZ
Posting sample code of what you think doesn't work would help others help you On Jul 30, 11:37 am, Benedikt wrote: > Hi, > > I am calling a remote javascript file a need it called synchronously. > > jquery's ajax call does not work in this situation... even with async > set false remote js-fil

[jQuery] Re: jquery tabs doesn't work under IE

2009-08-05 Thread MorningZ
I don't see that page working for FF3.0 even. it's your use of the code, not the code itself On Aug 5, 8:33 am, bary white wrote: > here is my site:http://testlayout.cba.pl/ > tabs don't work under IE - all div's are visible. I should add some > code? I thought that jquery works under all

[jQuery] Re: Table sorter

2009-08-06 Thread MorningZ
"Does anyone know a solution for this problem? " Yeah, wire up the Tablesorter code to the table *after* it is placed on the page. because whether the table was there when the page was generate or dynamically pulled in makes no difference, as long as it was there in the DOM when ".tablesorte

[jQuery] Re: Attribute selection not working in MSIE; eg $("input[name=name]").val()

2009-08-06 Thread MorningZ
is the input box like because that is what that selector is after On Aug 6, 10:18 am, "Cesar Sanz" wrote: > Can you show us your code? > this issue is in IE6, IE7 or IE8? > > - Original Message - > From: "V" > To: "jQuery (English)" > Sent: Thursday, August 06, 2009 4:21 AM > Subje

[jQuery] Re: A script on this page is causing Internet explorer to run slowly

2009-08-06 Thread MorningZ
I'm not sure how you feel someone could help here with absolutely no information or examples but common sense says if you clicked "Yes" to the prompt of "Stop running the script?", then your javascript will, well, stop execution On Aug 6, 12:26 pm, pankaj wrote: > Hi, > > I got this messa

[jQuery] Re: getJSON response limit

2009-08-09 Thread MorningZ
"GET vs. POST would have nothing to do with this" Sure it could. http://classicasp.aspfaq.com/forms/what-is-the-limit-on-querystring/get/url-parameters.html Granted i do not know if newer browser versions have raised or removed that cap, but it's still something to consider To original po

[jQuery] Re: AJAX calls acting syncronously

2009-08-10 Thread MorningZ
"Am I missing something here" Yes, you are assuming that the results will come back in the order called, which totally is not the case the success function simply says "when you return from this async call, run this", there is nothing in the logic about "order" There is an older plugin t

[jQuery] Re: AJAX and JSON

2009-08-10 Thread MorningZ
"Speaking of: i recommend AGAINST using getJSON()" I'd also recommend against use of $.getJSON for a totally different reason: There is no option to "catch" errors. getJSON: function(url, data, callback) { return jQuery.get(url, data, callback, "json"); }, so if something happens serv

[jQuery] Re: [attribute=value]

2009-08-15 Thread MorningZ
Why not show what code doesn't work properly? That would be of help to show the correct way to do it On Aug 15, 10:19 am, Geir wrote: > This is fromhttp://docs.jquery.com/Selectors/attributeEquals#attributevalue: > >      Variables can be used using the following syntax: [name='" +MyVar > + "']

[jQuery] Re: .each() loop with custom function

2009-08-16 Thread MorningZ
"//CREATE EACH THUMBNAIL $(this).find("thumbpath").each(i).createThumb (); <<<-- I think I am using "i" incorrectly " No, that is not correct, it would be like: $(this).find("thumbpath").each(function(i) { $(this).createThumb(i); }); and need to chang

[jQuery] Re: jcarousel outdated

2009-08-17 Thread MorningZ
I also have used jCarousel with 1.3.2 without issues I'd be careful with old(er) plugins like that, he hasn't updated the code since last April.. "your millage may vary" from here on out With *any* older plugin code, first thing to check is to see if they were using the depreicated in 1

[jQuery] Re: Finding if browser supports flash

2009-08-17 Thread MorningZ
This is a super popular plugin for what you ask http://jquery.thewikies.com/swfobject/ On Aug 17, 6:45 pm, Vaishu wrote: > Hi, > > I am looking for a piece of code where I can find out if client browser > (any) supports flash. > If no, then I need to display message. > > Please help.

[jQuery] Re: Returning html in json object

2009-08-17 Thread MorningZ
First, in PHP you should specify the content-type to be "text/plain" or "application/json" leaving it alone as "text/html" could potentially cause confusion Second, you should show what function "addUpload" is/does On Aug 17, 4:48 pm, Ryan wrote: > I am having problems with the return dat

[jQuery] Re: Asp.net AJAX form

2009-08-18 Thread MorningZ
Well, do you want to submit the form via AJAX or via postack it's one or the other, but you mention both On Aug 18, 5:44 am, K1 wrote: > Hi,all. > I wanna create ajax form in asp.net that have loading image, > how can I do this? > loading image  (gif animation) will show utill postback resp

[jQuery] Re: any toolkit to validata the 'form' of Json text-string?

2009-08-20 Thread MorningZ
json2.js would help http://www.json.org/js.html in particular the ".parse" method On Aug 20, 1:42 am, Mead Lai wrote: > I just use the Regular Expression, which my friend give me: > > function checkJsonFormat(text){ >         return !(/[^,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]/.test(text.replace(/"(\

[jQuery] Re: Problem with Ajax callback function in jQuery

2009-08-20 Thread MorningZ
"Does anyone know what is wrong? I've never seen an ordinary function behave this way. " That's because $.post (and the resultant $.ajax) isn't "ordinary", it's an asynchronous call and when you hit the line jsonData = eval('(' + data + ')'); the script isn't back from the post call yet

[jQuery] Re: Problem with Ajax callback function in jQuery

2009-08-20 Thread MorningZ
and just to note success = SaveSearch_Success, should look just like that... it shouldn't be success = SaveSearch_Success(), or success = SaveSearch_Success(data), or *anything else*... it already "knows" to pass the resultant JSON to the function On Aug 20, 9:34 am, dkomo872

[jQuery] Re: Problem with Ajax callback function in jQuery

2009-08-20 Thread MorningZ
the code i posted should have no problem working as long as it is used properly... without seeing your actual HTML and where stuff is and what gets called, it's impossible to help completely. and the / thing won't matter that much as long as document.ready is used... but even that's a guess

[jQuery] Re: How to supply the xhr exception object to $.ajax()?

2009-08-21 Thread MorningZ
I'm no PHP expert, or even a novice for that matter but in ASP.NET saying the line Throw New Exception("This is a server side error") the value in that jQuery error function "xhr" has that text inside xhr.responseText (along with the rest of the HTML that .NET generate, but I just pull out

[jQuery] Re: Quick check over these few lines ?

2009-08-22 Thread MorningZ
One issue that i see right away is this: $("li").each(function(){ $.post("ajax_parser_update.php", {query: $(this).val()}, You are apparently looping through "" tags inside that each statement $(this).val() won't work because is not an object that .val() works against... use ".t

[jQuery] Re: Quick check over these few lines ?

2009-08-22 Thread MorningZ
"The confusing bit is that you're instructing jQuery to make an AJAX request for each LI *as the page is loading*" That is not true, as inside $(function() { ... ... ... }) the page is already "ready", all the 's will be where they should be On Aug 22, 1:41 pm, brian wrote: > I see

[jQuery] Re: jQuery handling of URL params?

2009-08-23 Thread MorningZ
This is a function i've used for years... nice and simple function GetQueryVariable(key, defaultVal) { var query = window.location.search.substring(1); var vars = query.split('&'); for (var i=0; i < vars.length; i++) { var pair = vars[i].split('='); if (pair[0] == key)

[jQuery] Re: jquery form plugin. IE doesnt work

2009-08-23 Thread MorningZ
Well, here's your code from what i see $('#submitForm').click(function() { if ($('#contactForm').valid()) { $('#loading').fadeIn("slow"); $('#contactForm').ajaxForm(function(data) { ... more code }); } }); So, hopefully like you did, fired up IE8's console/de

[jQuery] Re: Passing variables to .click

2009-08-23 Thread MorningZ
MANY ways to do this, with this being one of them Some Text then $("#parsetablebutton").click(function() { var region = $(this).attr("region"); //<<-- the value from PHP }); again, that's just one way of many On Aug 23, 6:04 pm, AMP wrote: > Hello, > I was using this: > onClick=

[jQuery] Re: localscroll not working, help? could it be lightbox?

2009-08-23 Thread MorningZ
was it necessary to create three topics about it? have you removed lightbox to see if the issue goes away? On Aug 23, 5:18 pm, Alice wrote: > problem can be seen here:http://unedible.com/alicewhite/ > > it's just not scrolling. sometimes when i change the code around a > bit, the anchor images

[jQuery] Re: not working in IE6

2009-08-25 Thread MorningZ
Can you elaborate on what part doesn't work? Assigning the title tag? The wiring up of the tool tip? And you realize the the tooltip plugin goes after the selected object's title parameter, right? Your each() loop assigns the title to the 's, but your .tooltip() call is on the , two totally dif

[jQuery] Re: not working in IE6

2009-08-25 Thread MorningZ
to call on options? > > On Aug 25, 6:13 pm, MorningZ wrote: > > > Can you elaborate on what part doesn't work? > > > Assigning the title tag? > > The wiring up of the tool tip? > > > And you realize the the tooltip plugin goes after the selected > >

[jQuery] Re: $.inArray optimisation

2009-08-25 Thread MorningZ
"IMO, it doesn't belong in the core" I think I read somewhere that a check for that usage will be in 1.3.3 core, but damned if I can find where I saw that stated On Aug 25, 9:59 am, KeeganWatkins wrote: > it does not work in every browser. the purpose of jQuery and similar > libraries is to

[jQuery] Re: Chaining AJAX calls in jQuery with pause?

2009-08-26 Thread MorningZ
Check out the Ajax Queue plugin http://www.google.com/search?q=jquery+ajaxqueue On Aug 26, 8:52 am, "pascal.nauj...@googlemail.com" wrote: > Hi Group, > > is there a possibility to chain AJAX Requests? > > By now i have 5 AJAX Functions where one calls the next (Button Click > - > > > 1 -> 2 -

[jQuery] Re: Datepicker issue

2009-08-26 Thread MorningZ
"to me it seems wierd or inconsistant that the datepicker won't allow you to pick a date beyond the maxDate, but you can enter it manually and nothing happens" Hence it's "date picker" and not "date enter-er", it does it's job, let's the use *pick* a date from a calendar On Aug 26, 7:55 am, sak

[jQuery] Re: dump html

2009-08-26 Thread MorningZ
Use a tool like Firebug or Web Developer Toolbar to see what's going on On Aug 26, 11:03 am, jhm wrote: > I'm pretty new to jquery and love it!  I was wondering if there was an > easy way to dump the html that gets generated after the page gets > loaded to verify it's what I wanted and expected

[jQuery] Re: How to express the AND condition in jQuery

2009-08-26 Thread MorningZ
Not sure if this is the only or best way or how "fast" it may or may not be, but does work http://paste.pocoo.org/show/136392/ On Aug 26, 12:32 pm, John wrote: > Hi, > > If I like to find a "div" with children "input", "img", and "span", > how to express the selector: > >  the div that has

[jQuery] Re: syntax problems

2009-08-26 Thread MorningZ
If you are using 1.3.2 of the library, then lose the "@" is there any reason why you just don't say jQuery("a#myLink") since you can't use "$" ? On Aug 26, 11:40 am, holicGirl wrote: > Hello, > I have a basic knowlegde of jQuery and a problem in selecting a link. > To be specific I've a prob

[jQuery] Re: empty() is very slow

2009-08-26 Thread MorningZ
"What is jQuery doing to empty an element?" That's so easy to see/find-out for yourself open up the jquery.js file, search for "emtpy" and voila empty: function() { // Remove element nodes and prevent memory leaks jQuery(this).children().remove(); // Remove

[jQuery] Re: Help getting started with JSON (and PHP)

2009-08-27 Thread MorningZ
I would suggest using Firefox and FireBug to "watch" what comes back from your $.getJSON call... because that will indicate that your JSON is indeed valid, because if it isn't, you'll never make it into the success event On Aug 27, 11:01 am, sso wrote: > I need to return several values and I'd

[jQuery] Re: IE issues

2009-08-28 Thread MorningZ
Can you elaborate on "trouble getting working"? Can you provide a link? Code? Anything more than "doesn't work" will help others help you On Aug 28, 7:14 am, Phil wrote: > Im having trouble getting my jquery slideshow to work in IE, It works > fine in FF and Safari. > I tried using "supersle

[jQuery] Re: Issue with getJSON function... I get the JSON file but I can't do anything with it !! Help please

2009-08-28 Thread MorningZ
> The alert box that pops up diplays the following: > http://localhost:3000 > [object Object] Are you expecting different? http://jsbin.com/oceni/edit alerting an evaluated JSON object will show you [object Object] If you want to see the JSON broken down into it's Key/Value pairs, Firefox + Fi

[jQuery] Re: $.ajax() issue

2009-08-29 Thread MorningZ
Have you tried an HTTP monitor like Fiddler (http:// www.getfiddler.com) to see what is going on when the $.ajax request starts? That will help diagnose for sure On Aug 29, 9:46 am, "g...@iec" wrote: > Hi all, > > I have an issue. > I am submitting XML data using ajax call which updates data on

[jQuery] Re: $.ajax() issue

2009-08-29 Thread MorningZ
something littering your code with "alert"-s is not going to accomplish... Whatever i suppose good luck solving your issue how you see fit On Aug 29, 10:01 am, "g...@iec" wrote: > Is there any other way to find out the root cause apart from these. > > On

[jQuery] Re: Easy SELECT question for newbie

2009-08-30 Thread MorningZ
> I looked and looked for examples and thought I tried every conceivable > example. Always start right here http://docs.jquery.com/Selectors you would have run across this http://docs.jquery.com/Selectors/attributeEndsWith#attributevalue

[jQuery] Re: Is there a more efficient Method.

2009-09-01 Thread MorningZ
maybe: $("#C2 > div").each(function() { $(this).html("" + data["Data" + this.className]); } untested, but it seems like it would work fine *as long* as the only class applied to those children 's is that single letter or what not On Sep 1, 11:52 am, Keo wrote: > Hello,  I use Jquery on a web

[jQuery] Re: Why am I getting the error "missing ) after argument list" with this code?

2009-09-01 Thread MorningZ
"but I didn't think single quotes within single quotes were a problem as long as they are paired correctly" That is one of the most basic of basic "no-no"-s when it comes to programming whatever i guess, as long as you learn from it i suppose On Sep 1, 7:30 pm, "Rick Faircloth" wrote: > Th

[jQuery] Re: .not($.browser.msie && $.browser.version <= 7)

2009-09-02 Thread MorningZ
I have zero idea if this actually works, but maybe "conditional comments" would work? On Sep 2, 7:20 am, IschaGast wrote: > I am having rounded corners in a site but I don't want them in IE > because it does strange things with the corners. > > Something like below isn't that possible? > .corn

[jQuery] Re: .not($.browser.msie && $.browser.version <= 7)

2009-09-02 Thread MorningZ
Ah damn, i have that all wrong. it's backwards, sorry about that but maybe that would provide an alternative direction none the less http://msdn.microsoft.com/en-us/library/ms537512(VS.85).aspx On Sep 2, 7:57 am, MorningZ wrote: > I have zero idea if this actually works, b

[jQuery] Re: Check if function exists

2009-09-02 Thread MorningZ
you should be able to wrap that call in if (jQuery.tinymce) { ... your code doing tinymce stuff ... } On Sep 2, 10:44 am, shapper wrote: > Hello, > > I am loading TinyMCE using the new JQuery Plugin: > >

[jQuery] Re: Help getting elements name.

2009-09-02 Thread MorningZ
"because the other programmer used different names to call them singularly because of some issue with IE 6 & 7" technically he *created* an issue with IE since the radio buttons are not grouped so that the user can only select one in the bunch of them (if that's what you want, but you don't make

[jQuery] Re: Why is console.log(valid) returning "yes" in this code?

2009-09-02 Thread MorningZ
"Why?" Because you are failing to understand "variable scope" Don't use the "var" keyword inside the if block, by using that, you are stomping over the "outside" one http://www.google.com/search?q=Javascript+variable+scope On Sep 2, 10:26 pm, "Rick Faircloth" wrote: > Here's the code: > > va

[jQuery] Re: Why is console.log(valid) returning "yes" in this code?

2009-09-02 Thread MorningZ
> I think you mean: > by using that, you are -NOT- stomping over the "outside" one. Indeed... a classic case of thinking faster than i was typing

[jQuery] Re: unblockUI() problems in IE

2009-09-03 Thread MorningZ
have you tried dropping the z-index styling? that's got to be an issue On Sep 3, 3:49 pm, Matthew Abbott wrote: > It seems to bug because i am using a > Ive tried the tag inside the and outside the like > below. > If i take out the tag, it goes away fine without issues. > > > > >      

[jQuery] Re: New iPhone-style button plug-in released...

2009-09-04 Thread MorningZ
Very slick! nice work On Sep 4, 10:05 am, "Dan G. Switzer, II" wrote: > We've just released another jQuery plug-in which emulates the iPhone-style > button used to toggle settings on/off. The plug-in works with both checkbox > and radio button groups and we've worked hard to make this a complet

[jQuery] Re: Clickable ?

2009-09-04 Thread MorningZ
and don't forget to add the css "cursor: pointer" to make the user's mouse cursor look like a link On Sep 4, 1:15 pm, Charlie Griefer wrote: > does that div have an id attribute?  if so, > > $('myDivID').click(function() { do stuff here }); > > On Fri, Sep 4, 2009 at 10:13 AM, lukas wrote: >

[jQuery] Re: Clickable ?

2009-09-04 Thread MorningZ
I don't understand... The first post says > "I have a that only contains an image" and later on a post says: > And here is the html: > a> That wouldn't be a with only an image there On Sep 4, 2:02 pm, Charlie Griefer wrote: > I don't know that you can use a filter the way you're

[jQuery] Re: cursor : pointer // switches to 'default' on click...

2009-09-06 Thread MorningZ
it's the browser doing it, probably because the object loses focus.. you have no control of it On Sep 6, 5:44 pm, general_salt wrote: > I have a link with a return false; > > I have the style (cursor: pointer) set in the CSS and also tried > setting it in Javascript. > > When I click on the lin

[jQuery] Re: get image size?

2009-09-08 Thread MorningZ
"Whatever picture I try, the answer is alsway 272" You realize of course that your selector is always choosing the same DOM object and are you calling ".change" on an tag? I don't think that's a supported event handler on that kind of tag Maybe if you show the actual HTML it will be clearer

[jQuery] Re: How to subscribe to only discussions you've created or posted to

2009-09-08 Thread MorningZ
On any post there is a link in the top right of the main content text aptly named "Options" clicking that gives you the option "Email updates to me", that's the feature you are looking for... and there is no automatic way to have that happen, it's a Google Groups thing On Sep 8, 9:24 am, "W. Y

[jQuery] Re: click a button returned by ajax

2009-09-08 Thread MorningZ
There's no reason why this shouldn't work... remember you cannot wire an event to something that isn't on the DOM unless you: (1) use the ".live()" functionality of jQuery (http://docs.jquery.com/ Events/live#typefn) or (2) do it after it is in the DOM, which my code shows below $.post(

[jQuery] Re: New Edit-in-Place Plugin with dynamic selects, datepicker

2009-09-08 Thread MorningZ
Planning on adding a "demo" page anytime soon? I'd like to check it out On Sep 8, 4:21 pm, Jacob wrote: > I've created a new edit-in-place plugin that is a modified version of > Dave Hauenstein's.  It allows for selects that are generated at the > point when the editor is created, rather than

[jQuery] Re: Getting start

2009-09-08 Thread MorningZ
First off, if that super simple example did not work, then you are not property including the library correctly instead of try this instead http://ajax.googleapis.com/ajax/ libs/jquery/1.3.2/jquery.js"> if that works, then you know that your block is incorrectly pointing to the library

[jQuery] Re: Getting start

2009-09-09 Thread MorningZ
Here's twp blog posts to help out http://weblogs.asp.net/scottgu/archive/2008/11/21/jquery-intellisense-in-vs-2008.aspx http://blogs.msdn.com/webdevtools/archive/2008/11/18/jscript-intellisense-faq.aspx Also, just some personal experience: To get around the MasterPage issue, which sadly rebases

[jQuery] Re: data is null,while i need ""

2009-09-10 Thread MorningZ
Easy fix $('#verMailDate').attr("value",data.verMailDate); to $('#verMailDate').attr("value","" + data.verMailDate); On Sep 10, 12:17 pm, Junhua Gao wrote: > $.getJSON('/VersionQueryJsonAction',{verID:verid},function(data){ >       $('#verMailDate').attr("value",data.verMailDate); >       $

[jQuery] Re: saving values from a multi select list.

2009-09-10 Thread MorningZ
Have some HTML to show with that? there is no reason why ".val()" would not bring back what it is supposed to: an array of values from selected unless you were using it wrong, your selectors are wrong, or your HTML is wrong So show more code and it'll be easier for others to help you :-)

[jQuery] Re: IDE supporting jQuery

2009-09-10 Thread MorningZ
Are you looking for something where Intellisense would work for jQuery? Something else?Open source so it's free or some other reason? A lot will depend on what you use for server side code so you don't have two IDE's to mess with On Sep 10, 11:41 am, Saga wrote: > is there any IDE supp

[jQuery] is there an opposite of 'closet' selector

2009-09-10 Thread MorningZ
This selector is almost what i need http://docs.jquery.com/Traversing/closest except i need it to go backwards... so i have an item selected, i need to find the closet tag before it (which is nested deep in a table layout, yuck), and the table HTML varies on different templates I thought .pre

[jQuery] Re: is there an opposite of 'closet' selector

2009-09-10 Thread MorningZ
btw, the HTML would be something like Update

[jQuery] Re: is there an opposite of 'closet' selector

2009-09-10 Thread MorningZ
"get the prev to " that's all i need... but the ".prev()" selector only seems to go "up" the DOM, it won't go back into the table row that the two tables share On Sep 10, 5:29 pm, "ryan.j" wrote: > not sure if there is a neat way of doing it, but providing the nested > tables aren't too busy w

[jQuery] Re: data is null,while i need ""

2009-09-11 Thread MorningZ
> That won't work. Try this test: > > alert( "" + null );  // "null" - but we wanted "" > alert vs .val() are two different things case in point: http://jsbin.com/ahivu/edit there is no "null" put in that text box

[jQuery] Pics from jQuery Conference

2009-09-12 Thread MorningZ
Some early pics from today's festivities that is about to start Signup and a little early snack-age http://i26.tinypic.com/31779l1.jpg Way cool "Surface Computer" http://i31.tinypic.com/2rohpo5.jpg Bad weather today, but it's all good http://i25.tinypic.com/350uqys.jpg Ready for John Resig to

[jQuery] Re: Why would this code cause this error in IE?

2009-09-12 Thread MorningZ
Wow, that code could be a LOT easier var Validations = { streetNumber: true, streetName: true, city: true, state: true, bedrooms: true, fullBaths: true, rent: true, securityDeposit: true, AllValid = function() { return this.streetNumber && this.stree

[jQuery] Re: Twitter for support?

2009-09-13 Thread MorningZ
Hah, and John posted that right before he gave a closing "state of jQuery" address... looking forward to the day of getting to a more traditional forum engine As for original posted question, I've been thinking of implementing something Twitter related on my car website, as after a month ago movi

[jQuery] Re: Does anyone see any problem with this code that might cause IE not to work with it?

2009-09-13 Thread MorningZ
i don't know about the rest of the code, but are you aware you are redefining and reattaching the plugin code "getCheckboxVals" on *each and every .live() call* ? On Sep 13, 4:08 pm, "Rick Faircloth" wrote: > There are more pieces to the code puzzle than this section, but for some > reason ,

[jQuery] Re: Reconciling Tablesorter behavior in IE and FF

2009-09-17 Thread MorningZ
While this is totally off the top of my head (especially the Regular Expression), it might help put you on the path $.tablesorter.addParser({ id: "color", is: function(s) { return false; }, format: function(s) { var hit = s.match(/\/(\w+

[jQuery] Re: Is there an onChange method?

2009-09-17 Thread MorningZ
Which plugin do you speak of? that would be a huge help for others to help you On Sep 17, 7:42 pm, Loony2nz wrote: > I'd like to trap for a field going from invalid to valid. > > something like, > > onchange: function(){ >    alert('Yay, the field is valid and you can follow instructions'); > >

[jQuery] Re: jQuery Countdown help

2009-09-18 Thread MorningZ
Any indication with what the error/is other than "having trouble"? I've been using coding with this plugin the past few days and haven't had any issue setting that date On Sep 18, 4:12 pm, Jason wrote: > I am attempting to use the jQuery Countdown plugin > fromhttp://keith-wood.name/countdow

[jQuery] Re: [ why don´t working "attr" ]

2009-09-19 Thread MorningZ
It's colons straight from the docs http://docs.jquery.com/Attributes/attr#properties On Sep 19, 12:44 pm, Mike McNally wrote: > On Sat, Sep 19, 2009 at 10:03 AM, adambundy wrote: > > > Your syntax is incorrect. What you want, I think, is: > > > $(this).attr({ > >   'rel','external', > >   'i

[jQuery] Re: Frustrating Scope Question with getJSON

2009-09-19 Thread MorningZ
On Sep 19, 11:34 am, Bill H wrote: > I've tried that and still can't seem to get the data into any sort of > usable scope. The problem is that while you may be understanding scope, you are not understanding asynchronous calls the $.getJSON call doesn't "return" anything Whatever you are wan

  1   2   3   4   5   6   7   8   9   10   >