I am trying to get some cross browser consistency of obtaining the
true image size.
In Firefox, there is two fields,
image.naturalWidth
image.natualHeight
IE does not recognize these fields. I think I am either over thinking
the issue, and probably not seeing something I thought jQuery
This is probably isn't a jquery question, but I am using jQuery media
plugin in this case, so I am wondering if someone can assist here.
I have a http folder with my server-side scripts for media stuff
/public/wcflash/wcflash.wcx-- server side compiled script
for our web server
I
I have this code below which I reduced to this for posting.
Essentially, I have a bunch of screen shots which I display in reduced
size as a div block menu with the idea that when the user clicks
on a image, it is fully displayed in a DIV id=divImage block below
the image menu.
What is odd is
Shelane,
I recently made changes to jQuery.autocomplete.js that doesn't require
jquery.dimensions.js and adds a exception trap for bgiframe non-
existence.
http://beta.winserver.com/public/test/MultiSuggestTest.wct
This modified verison also offers support for scrolling large list
that do
Whoa! Rey, what a different between IE and FF.
I am not interested in the half-truths in any of this, but rather what
does the test show to improve jQuery, if anything?
--
HLS
On Nov 1, 1:59 pm, Rey Bango [EMAIL PROTECTED] wrote:
Hi Prit,
Please do a search in the archives for this
On Oct 26, 12:19 am, Eric Martin [EMAIL PROTECTED] wrote:
Ok, I checked into it and I have the FireFox NOSCRIPT plugin. Just too
dangerous out there to willy nilly allow all sites use Javascript. So
I turn it on on a site by site basis. NOSCRIPT puts alittle clickable
icon in the
Good slides, I like - but for whom? not sure. Now I have a better
idea about prototype and comparible features, providing me some
incentive to explore prototype. I love jQuery, but its QA, in
particular consistent x-browser behavior is something to keeps
bothering me.
Anyway, the slides only
Nice, but it doesn't work under FireFox. Started IE and I was able to
see the demo. Let me try Opera. Slow, but it worked.
Good for your first plugin once you get the X-Browser issues
resolved. :-)
--
HLS
On Oct 25, 5:14 pm, Eric Martin [EMAIL PROTECTED] wrote:
On Oct 25, 8:05 am, R. Rajesh
the speed, it worked very well.
--
HLS
On Oct 25, 9:12 pm, Pops [EMAIL PROTECTED] wrote:
Nice, but it doesn't work under FireFox. Started IE and I was able to
see the demo. Let me try Opera. Slow, but it worked.
Good for your first plugin once you get the X-Browser issues
resolved. :-)
--
HLS
I am still exploring all these, but currently with the idea of
minimizing DOM and jQuery work, I have a table like so:
table id=serverTable
thead
trthc1/tdthc3/tdthc3/td/tr
/tread
tbody
/tbody
/table
where tbody block initially has no rows.
The ajax call, runs a server side applet
I would like to see if I can move our server side mail tag injection
to jQuery on the client side.
I guess I am wondering if the logic I am thinking will prevent any
premature browser processing before jQuery gets to perform the
filtering.
When a message is going to be displayed on our system,
I wrote a tip plugin for our needs and spent much of the design time
getting the cross-browser correct placement of the tip box within a
BODY container (viewport) or a user-defined viewport (a specific DIV
id passed to the plugin settings). I think I finally got it all
worked out.
The
, Pops [EMAIL PROTECTED] wrote:
I am not sure how I missed this early in my plugin development, but I
see it now.
For my new hover plugin, I noticed jQuery was extending the event
structure with extra mouse information such as:
event.pageY and event.pageX
and that this extended event
Hi Mike,
I didn't analyze your code, but as I said (or maybe I was thinking of
saying it but do not) is that JavaScript, to me, a guy is extremely
strict and high software quality development practices, promotes bad
coding habits. I say that because I have already caught myself doing
stuff that
I am not sure how I missed this early in my plugin development, but I
see it now.
For my new hover plugin, I noticed jQuery was extending the event
structure with extra mouse information such as:
event.pageY and event.pageX
and that this extended event is passed to my show and hide
Is this the only way to iterate through an object?
for ( x in myObject) {
}
and how can you remove an field in an object?
For example:
var obj = {
x1: 1123,
x2: 212,
x3: 123131
};
I want to remove obj.x2 the obj object to end up with:
{ x1: 1123, x3:
.
Thanks
--
HLS
On Oct 11, 4:26 am, Michael Geary [EMAIL PROTECTED] wrote:
From: Pops
Is this the only way to iterate through an object?
for ( x in myObject) {
}
Ultimately, yes. You can use something like $.each() on an object, but it
just runs that same for loop internally
...
Hope that helps.
Ariel Flesler
On Oct 11, 4:54 pm, Pops [EMAIL PROTECTED] wrote:
Thanks Mike and Wizzud.
Question:
What I wanted to use this for was my cache and to truncate old
data. I see that using a real array will allow me to use the
inherited .length property to set
,[y,z]);
From what I am understanding, x is this inside the function xxx and
x,y is the parameter to the function?
Is that correct in general when using .apply? or am I off base
completely? g
---
HLS
On Oct 9, 1:49 am, Michael Geary [EMAIL PROTECTED] wrote:
From: Pops
var how
settings = {
...
show: slideDown.
speed: 50,
...
};
$box[ settings.show || 'show' ](settings.speed);
Correct?
--
HLS
On Oct 9, 1:49 am, Michael Geary [EMAIL PROTECTED] wrote:
From: Pops
var how = (settings.show!=)?settings.show:show;
eval
Thanks rey, this is good enough. I just needed something for our
automated build/distribution process.
-
HLS
On Oct 8, 9:24 am, Rey Bango [EMAIL PROTECTED] wrote:
Pops,
Check out YUI compressor:
http://www.julienlecomte.net/blog/2007/08/13/introducing-the-yui-comp...
Rey...
Pops wrote
I am completing a new plugin where I have a function JSON option to
fade in instead of just show(). So the code is:
settings.fadeIn?$box.fadeIn():$box.show();
settings.fadeIn is passed as a true or false value in the plugin
function settings parameter:
var settings = {
What I can download to pack and minified my javascript code?
Thanks
Tim,
Try wrapping a try/catch around it to see if there any untrapped
error:
try {
your stuff
} catch(e) {
alert(e.message?e.message:e);
}
Also, if you are using FireFox, install FireBug debugger plugin which
will give you alot of debugging information with the ajax call.
--
I did the following to make it work:
I wrapped the data as such:
MyJSON({
items: [
your items here
]
});
then I created a function:
Function MyJSON(data)
{
var json = data.items;
var tbl = table border='1' class=\tblTimeCards\;
tbl += theadtr;
tbl += thId/th;
tbl += thClient/th;
a
javascript that jQuery Ajax will eval-uate. The javascript is a
callback to this function with the parameter being your actual JSON
data.
--
HLS
On Sep 25, 9:20 am, Pops [EMAIL PROTECTED] wrote:
I did the following to make it work:
I wrapped the data as such:
MyJSON({
items: [
your
the clue tip. Maybe use CSS to set
overflow: hidden along with a set width/height (maybe a max width/
height). Actually I think there is a truncate plugin ... yup, there
is (http://www.reindel.com/truncate/). I'm not sure if that helps
or not.
--
Brandon Aaron
On 9/22/07, Pops [EMAIL
I noticed some example using something like so:
data = $(data).not(style, meta, link, script, title);
to filter out thes tags.
I tried using this to filter img as well:
data = $(data).not(style, meta, link, script, title, img);
and what I noticed is that this doesn't work if the
().not('style, meta, link, script, title, img');
andSelf is a jQuery 1.2 method. If you are using an earlier version you
could use $('*', data).add(data)
--
Brandon Aaron
On 9/22/07, Pops [EMAIL PROTECTED] wrote:
I noticed some example using something like so:
data = $(data).not(style, meta
return false;
}
// Otherwise keep the element in the jQuery collection
return true;
});
Hope that helps! :)
--
Brandon Aaron
On 9/22/07, Pops [EMAIL PROTECTED] wrote:
Hi Brandon,
Let me try this
I'm
();
// remove the element from the jQuery collection
return false;
}
// Otherwise keep the element in the jQuery collection
return true;
});
Hope that helps! :)
--
Brandon Aaron
On 9/22/07, Pops [EMAIL PROTECTED] wrote
I'm wondering if there a CSS gradient filter for FF/Mozilla like there
is for IE?
Here is an old Microsoft example for IE that I just changed using
jQuery.
http://beta.winserver.com/public/test/demo-gradient.wct
--
HLS
Now that I finding myself doing the following in a few areas, I don't
quite like it for a finalization of the code.
Basically, for the most part, a good bit of my jQuery usage is to add
dynamic toggling of current views already established in various pages
in our package.
In some cases, I want
Erik,
Are you asking if using 410 is appropiate here?
--
HLS
On Sep 18, 5:43 pm, Erik Beeson [EMAIL PROTECTED] wrote:
I've been thinking about using HTTP Status codes and a global ajax event to
deal with session timeouts. Here's a little example:
on, the css will be added and, in your
case, hide the elements you want to be hidden..
http://www.bobbyvandersluis.com/articles/dynamicCSS.php
dennis.
Pops wrote:
Now that I finding myself doing the following in a few areas, I don't
quite like it for a finalization of the code
On Sep 19, 6:22 am, Erik Beeson [EMAIL PROTECTED] wrote:
I know 410 isn't exactly made for this, but I'm wondering if there are
any side effects to the technique in generally, and specifically to
using 410. Would something else be more appropriate? Are there other
techniques for dealing with
+ COOKIE combined authentication logic. Its a trick
used to force the browser credentials to be released. IE 6.0 now
includes a Javascript command to release credentials.
--
HLS
On Sep 19, 8:42 am, Pops [EMAIL PROTECTED] wrote:
On Sep 19, 6:22 am, Erik Beeson [EMAIL PROTECTED] wrote:
I know
Not a jQuery method but a String replace method. Try this:
var s = $().text();
s.replace(/\n/g,br);
---
HLS
On Sep 18, 12:03 pm, Mike Miller [EMAIL PROTECTED] wrote:
Are there any jquery functions that can take a text value and convert
any newlines to br tags?
I have a table with some tr is used as divide other rows:
tr class=versionSection
tr...
tr..
tr..
tr class=versionSection
tr..
tr..
...
tr class=versionSection
tr..
tr..
etc.
In lieu of changng the HTML page, I want to see if I can find the tr
after each
,
--Karl
_
Karl Swedbergwww.englishrules.comwww.learningjquery.com
On Sep 18, 2007, at 3:21 PM, Pops wrote:
I have a table with some tr is used as divide other rows:
tr class=versionSection
tr...
tr..
tr..
tr class=versionSection
tr..
tr
I am wondering if there is a better solution than looking for a
onMinimize/OnMaximize events.
Basically, I have a hidden div container with a applet tag that
was injected with a button click. Once injected the applet is auto-
activated.
If the page is minimized and restored, the applet is
Why do I need to .append() to a container rather than use .html() for
applet tags?
function PlayAudioWav(src)
{
var s = ;
if (jQuery.browser.msie) {
s += 'bgsound src='+src+'';
} else {
s += 'applet code=wcAudioPlay.class width=0 height=0
codebase=/public';
s += 'param
hmm, seems to work now. Never mind.
--
HLS
On Sep 16, 2:57 pm, Pops [EMAIL PROTECTED] wrote:
Why do I need to .append() to a container rather than use .html() for
applet tags?
function PlayAudioWav(src)
{
var s = ;
if (jQuery.browser.msie) {
s += 'bgsound src='+src
are talking about, that is equivalent to:
html: function( val ) {
return this.empty().append( val );
},
So you would kind of expect .html() to behave similarly to .append(), and
probably identically in the case where the container
element is already empty.
-Mike
From: Pops
I have a master-detail display with an iframe to display the detail.
The iframe URL is autonomous in that it was originally designed to be
displayed in its own page and hence it has its own style sheet.
What I would to do is automatically change the style sheet (colors
mostly) of the iframe
On Sep 15, 10:17 pm, Erik Beeson [EMAIL PROTECTED] wrote:
Oh, just read your message again. I'd say make your widget page fix
itself. I'm not sure how cross platform this is, but cursory testing
indicates that you can do:
if(window.parent == window) {
// standalone page
} else {
Thanks Mike. I tried this but I think we need to get the
computedStyle not sure if that is correct, but that seems to return
something.I think I have it (close) but it comes back in rgb
format which I need to convert, I think. Style exploring. :-)
--
HLS
On Sep 15, 10:45 pm, Michael
a computed style from its parent
--
HLS
On Sep 15, 11:34 pm, Pops [EMAIL PROTECTED] wrote:
On Sep 15, 10:17 pm, Erik Beeson [EMAIL PROTECTED] wrote:
Oh, just read your message again. I'd say make your widget page fix
itself. I'm not sure how cross platform this is, but cursory testing
Alex,
For what it is worth, I was able to confirm with three recent working
v1.1.4 treeview applications are now no longer working the same
when I simply change the script src=jquery.1.1.4.pack.js tag to
v1.2 instead. The immediate viewable issue is the tree images are
gone.
IMO, whatever
Hi,
You are not clear on what the issue is, waiting for Ajax response
Are you saying that you don't see anything?
I'm working on a jQuery Ajax improvement and I can't wait to finish it
up and get it releases as a plugin replacement. It resolves quite a
few issues with the jQuery AJAX
On Sep 12, 11:13 pm, Brandon Aaron [EMAIL PROTECTED] wrote:
On 9/12/07, Pops [EMAIL PROTECTED] wrote:
IMO, whatever excuse there is, this pattern of showing a lack of
backward compatibility, altered method behavior pattern with the
updates is disturbing.
Did you include
Yes thank you.
Incidently, I just found a .wrapText() method in the jQuery
MoreSelectors plugin that does the same thing!
// Plugin to wrap html around non-empty text node(s) within an
element:
// (ignores text in child elements)
// Eg: $(LI).wrapText(LABEL/)
Hi,
I took a moment to look are your stuff and I am not sure what you are
expecting.
Of course your jQuery version will be slower than your native
version.
I personally think it can reduced tremedously, there is alot of
overhead in there for a rather simply application. I can see
immediately
For my List tree plugin, it needs to handle situations where the
structure contains LI tags with text and not text wrapped with a HTML
tag (normally a A tag)
For example:
ul
li title
ul
li...li
li...li
/ul
/li
/ul
My CSS and tree code handles it nicely when
On Sep 8, 6:38 am, Pops [EMAIL PROTECTED] wrote:
For my List tree plugin, it needs to handle situations where the
structure contains LI tags with text and not text wrapped with a HTML
tag (normally a A tag)
...
So short of removeNode()/createNode, if there a jQuery way to do
On Sep 8, 10:09 pm, Piotr Petrus [EMAIL PROTECTED] wrote:
Wow, now that's big. I'd try just this:
$('ul li').each(function() {
if (this.firstChild this.firstChild.nodeType == 3) {
$(this.firstChild).wrap('a href=/a')
}})
So you can wrap()
I have a tree list and when I toggle a deep item to expand/show, I
want all its parents to expand as well. What selector or method will
give me this?
I guess this is expanding the sub-tree which I can do natively, but
would like to do it via jQuery.
TIA
--
HLS
liaItem 1.4.2/a/li
liaItem 1.4.3/a/li
/ul
/li
/ul
/li
liaItem 1.3/a/li
/ul
/li
/ul
---
HLS
On Sep 7, 4:49 pm, Pops [EMAIL PROTECTED] wrote:
That worked! Perfect! Thanks!
I did get
Ok, got it!
$([EMAIL PROTECTED]).show().parents(ul).show();
Duh! It reads so logical from left to right!
That gives me the exact number of elements and show() events!
With my real tree many list, its a major different in speed!
--
HLS
On Sep 7, 5:14 pm, Pops [EMAIL PROTECTED] wrote:
Ok
On Sep 7, 6:31 pm, Glen Lipka [EMAIL PROTECTED] wrote:
Some random helpful hints. (or not)
All comments are helpful even if it may not apply. These do
apply! :-)
$(ul:visible) gives you just the ones that are not display:none.
Ok! I was using .is(:hidden)
$(ul.open) might be better
I have a tree with I noticed that when the UL are collapsed, with IE
there is visible space where with FF there is none.
The solution for me was to add logic in my initialization code:
function prepareTree(idTree)
{
...
//
// IE Needs this to remove white
But these are invalid:
ul
ul
liblah/li
/ul
/ul
ul
liblah/li
ul
liblah/li
/ul
/ul
Browsers probably attempt to twist the invalid code into a valid
format, but you can't be sure it's going be what you expect.
Karl Rudd
On 9/6/07, Pops [EMAIL PROTECTED] wrote:
Klaus
On Sep 6, 4:50 am, Klaus Hartl [EMAIL PROTECTED] wrote:
Pops wrote:
Sorry if I am a dounce, but I still don't see the invalidity of it.
Do you have an example to show how this is incorrect in relationship
to anything (DOM? CSS?) ?
ul and ol elements may only have li elements
On Sep 5, 2:40 am, Aaron Heimlich [EMAIL PROTECTED] wrote:
On 9/5/07, Pops [EMAIL PROTECTED] wrote:
Yes, $('#foobar') returns the 1st one, but you can have as many
id=foobar your applications needs and use this to find them all:
While that's technically true, IDs are meant
that might conflict with yours?
Thanks for your comments.
--
HLS
On Sep 5, 4:36 am, Aaron Heimlich [EMAIL PROTECTED] wrote:
On 9/5/07, Pops [EMAIL PROTECTED] wrote:
No, I am not describing CSS.
Perhaps CSS classes wasn't the right term to use. What I really meant was
that you should be using
On Sep 5, 4:11 am, Klaus Hartl [EMAIL PROTECTED] wrote:
Is that reallly the HTML? If so, it is invalid and you cannot expect any
selector to be reliable in any browsers. I'm not refering to the missing
slashes in the closing tag - I assume you just left them out in the
example here -, but
Klaus,
Today, this has thrown me for a loop:
Is that reallly the HTML? If so, it is invalid and you cannot expect any
selector to be reliable in any browsers. I'm not refering to the missing
slashes in the closing tag - I assume you just left them out in the
example here -, but the
On Sep 4, 10:11 am, Andy Matthews [EMAIL PROTECTED] wrote:
Hrm...
But that didn't work. So I'm wanting to learn HOW I can do this sort
of thing and a tutorial on these methods would help immensely.
Have you tried the interactive Selector tester tool?
On Sep 4, 2:42 pm, Pops [EMAIL PROTECTED] wrote:
You can so do multiple selects, like find all divs and h3
$('div h3')
but if you use the comma:
$('div,h3')
that says find the H3 tag that is within div, I think g
I knew I had that backwards!
$('div h3') finds all h3 within
there are plugins but that isn't going to help me learn
this. :-)
I'll probably end up modifying the HELP generator to create all the
proper DIVs, etc, the long way :-)
--
HLS
On Sep 4, 5:44 pm, Klaus Hartl [EMAIL PROTECTED] wrote:
Pops wrote:
You can so do multiple selects, like find all divs and h3
On Sep 4, 2:53 pm, Andy Matthews [EMAIL PROTECTED] wrote:
One issue though...$('#foobar') would only return the first occurrence of
foobar because it uses getElementbyID which returns the first occurrence.
That's desired behavior as there should only ever be one ID of a certain
name per
Duncan,
Here is the general rule of thumb:
Use POST when the data:
1) Produces a command line over 1024 characters (GET has its line
limits)
2) Complex and by I mean:
- textarea
- input type='file.../
3) Security:
What to add alittle more security that keep the average person
this helps
--
HLS
On Sep 3, 9:00 pm, Pops [EMAIL PROTECTED] wrote:
Duncan,
Here is the general rule of thumb:
Use POST when the data:
1) Produces a command line over 1024 characters (GET has its line
limits)
2) Complex and by I mean:
- textarea
- input type='file.../
3
Hi,
A number of folks have independently come across this issue. What I
would like to hear from John Resig or from other team members if the
change was intentional? and why?
In short, what I found is that $(document).ready() behaves differently
in 1.1.4 for FF and IE.
In appears to me that
Done John.
Thanks
--
HLS
On Sep 2, 2:09 pm, John Resig [EMAIL PROTECTED] wrote:
Can you post this to the jquery-dev list as opposed to the general
discussion list? Thanks.http://groups.google.com/group/jquery-dev
--John
On 9/2/07, Pops [EMAIL PROTECTED] wrote:
Hi,
A number
On Aug 31, 6:38 pm, [EMAIL PROTECTED] wrote:
as you suggested and while it does run the alert message, it
still fails out on the document.getElementByID in the destination
page with the same error: TypeError: document.getElementById(blah1)
has no properties
Would you be able to paste in
Kevin,
Thats interesting. I just switched it to 1.1.3 and I now see what you
were talking about. Oh gosh, you weren't making things up. :-)
I have to keep this mind for future stuff when we begin to embed
current html with native DOM reference statements.
--
HLS
On Sep 1, 10:44 am, [EMAIL
-tests-ready-...
--Erik
On 9/1/07, Pops [EMAIL PROTECTED] wrote:
Kevin,
Thats interesting. I just switched it to 1.1.3 and I now see what you
were talking about. Oh gosh, you weren't making things up. :-)
I have to keep this mind for future stuff when we begin to embed
current
I see you have a typo and wrong id?
$(#commentform form).submit(function(){
var uname = $(#commenter).val();
^^ wrong id?
var email = $('#email').val();
var url = $('#website').val();
Now that getting a handle on the JS/jQuery language, I have these
basic questions
1) For an JSON object, how do you get the key name?
Example
var json = {field1: data2, field2: data2};
I know how to get the data, but how do you get the field names? IOW, I
want to get the names of the keys.
Klaus Hartl wrote:
I'm going to answer the first question (low hanging fruit)...
:-)
Yes, there is a direct method, just use a for loop:
for (var key in json) {
console.log(key); // key
console.log(json[key]); // value
}
Maybe I didn't get the question right?
I don't know
Klaus Hartl wrote:
Yes, there is a direct method, just use a for loop:
for (var key in json) {
console.log(key); // key
console.log(json[key]); // value
}
Maybe I didn't get the question right?
Hi Klaus,
Ok, Now I see why I asked the question. Yes, I did try the above, but
Sean wrote:
Oh, I just tried it and actually you're right! Bummer. It worked in
the code I was using, anyway ;-)
That behavior actually doesn't make much sense to me; it doesn't seem
like, in practive, you'd ever have immediate siblings that could be
some class (or whatever) that you
Michael Geary wrote:
I figured it out know. You got to look at the constructor type to see
if its an Object, Array or String. From there you can decide to use
for each or for in or for loop.
You don't have to write that code yourself:
http://jollytoad.googlepages.com/json.js
Yeah
Michael Geary wrote:
IE doesn't like:
json = {};
but will accept:
var json = {};
Let me take a guess...
You are executing this code inside a function, and you have an HTML element
in your page with the id 'json'.
...
Did I get it right?
Gawd, I should of seen that.
On Aug 30, 4:45 pm, Mitch [EMAIL PROTECTED] wrote:
I am so pleased you took the time to look closely at my project. Your
analysis is perfect, but I do have some questoins below. Some may
sound dumb because I am so new to all this.
My pleasure. I learning from all this too. :-)
noscript
On Aug 30, 5:25 am, Klaus Hartl [EMAIL PROTECTED] wrote:
Simulating block scope in which you can safely use the $ shortcut...
Ok, and now that I came across the need, I saw you and Michael talk
about this.
Before I discovered jQuery 3 weeks ago, I discovered the simple
alias trick for $
On Aug 31, 2:37 pm, John Beppu [EMAIL PROTECTED] wrote:
2) Best way to create a toJSON() string or object.
anyObject.toSource()
Hi John,
Yes, at first, that is what I thought and at first, i said Ah ha!,
thats it!
But its not quite right for all situations and worst, atleast up to IE
6.0
On Aug 31, 4:51 pm, Michael Geary [EMAIL PROTECTED] wrote:
Here is a example JSON:
var json = {
fields:
[
{prompt1: Login Name},
{prompt2: Real Name},
{prompt3: Location},
{prompt4: Password},
{prompt5: Security Group},
{prompt6: File Area}
]
};
Whoa! I thought I was beginning to understand this stuff, and
then.
Ok, I thought that this piece of JS code in the head tag like so:
html
head
script type='text/javascript'
(function($) {
... Does it see HTML tags? ...
})(jQuery);
/script
/head
body
html tags ..
/body
/html
Rey, I think, if its the same thing I am thinking would be where many
developers and working sites mix up HTML and SCRIPT tags at the same
time throughout the page.
head
/head
body
table id=id1..
script
... do something for this table any anything else above
/scrpt
div id=id2.
script
...
, its a matter of style. Clean consolidated coding.
Putting all your scripts in a file, etc vs spigetti code
programming. :-)
--
HLS
Pops wrote:
Rey, I think, if its the same thing I am thinking would be where many
developers and working sites mix up HTML and SCRIPT tags at the same
time
On Aug 28, 6:17 pm, digitarald [EMAIL PROTECTED] wrote:
The easiest fix, instead of using a
periodical checker which seems kind of weird on the first blush, is to
avoid closures during coding ...
Just for clarfication.
The idea of polling for non-atomic states is a Sync 101 violation.
On Aug 28, 10:30 pm, oravecz [EMAIL PROTECTED] wrote:
Is there a more raw form of .ajax (or get, .post) that will expose
the XHR method to the success (or error) handler?
The current XHR protocol only has a nreadystatechange handler. I'm not
up to par on how the W3.ORG working groups
Thanks mike
On Aug 29, 3:21 pm, Michael Geary [EMAIL PROTECTED] wrote:
From: Pops
This might be slightly off topic, a javascript script
question, but its being applied to jQuery. :-)
Ok, there is a different in other languages when you do this:
var p = null;
xyz(null
I'm pulling my hair on this one. It might not be a jQuery issue but
just the BROWSER issue. But since I am planning to use jQuery, the
issue applies to it as well.
First, this is under FIREFOX only. I don't see this behavior with IE
and OPERA. But I think maybe it may something by FF design
are
different. Not just with XHR.
So I need to continue looking to see if this can be solved for
FireFox.
Any time saving comments would be appreciated. :-)
---
HLS
On Aug 29, 6:01 pm, Pops [EMAIL PROTECTED] wrote:
I'm pulling my hair on this one. It might not be a jQuery issue but
just the BROWSER
Mitch,
I have to say - excellent job, very nice. I do have some comments,
and this is not just you but nearly all the web 2.0 sites:
- No Javascript
Since it depends on JavaScript, and you don't want to make it work in
web 1.0, then add the following:
noscript
This site requires JavaScript
On Aug 27, 11:31 am, John Resig [EMAIL PROTECTED] wrote:
YUI, Dojo, and jQuery all use this technique to avoid these leaks.
It's unavoidable otherwise.
John,
I'm curious. Been catching up of the technical issues and JS/DOM
framework, and it seems to me that a basic part of the issues is
I have a div id=wcResult container.
Via $.ajax() the success and failure call back do this:
$(#wcResult).text(xml.responseText);
to display the result.
If success, the server sends JSON formatted data.
If failure, like uthentication required, HTML is sent.
For the JSON data, the div
1 - 100 of 216 matches
Mail list logo