I don't know much about your specific problem, but I thought I'd share
how I do AJAXified login. First I have a form with action set to the
login page so it will work without javascript. Then I hijack the form
with ajaxForm() from the form plugin. I have the ajax return JSON and
have a callback
Also, what is that ## selector about?
--Erik
On 3/30/07, Dmitrii 'Mamut' Dimandt [EMAIL PROTECTED] wrote:
This is a question I got from a friend of mine:
$(##players tr:gt(0)).each(
function()
{
s = parseFloat($(td:eq(0), this).text());
}
);
How do I break out of
Venturing a guess, I'd say maybe try returning false?
--Erik
On 3/30/07, Dmitrii 'Mamut' Dimandt [EMAIL PROTECTED] wrote:
This is a question I got from a friend of mine:
$(##players tr:gt(0)).each(
function()
{
s = parseFloat($(td:eq(0), this).text());
}
);
How do
No, server push style AJAX. See here:
http://en.wikipedia.org/wiki/Comet_%28programming%29
--Erik
On 3/29/07, Alexandre Plennevaux [EMAIL PROTECTED] wrote:
I've always wondered: what is comet, a code editor?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Is something about it not working for you?
--Erik
On 3/29/07, Rick Faircloth [EMAIL PROTECTED] wrote:
D'oh! No actually it was a mind-reading test… :oP
Here's what I'm running:
$.post(Calc_Test_Process_Field_chris.cfm, Params,
toggleButton);
Rick
From: [EMAIL PROTECTED]
That has to do with the - not being a valid character for a property
name in javascript. Try either text-decoration or textDecoration.
The same is true for any css attribute with a - in the name
(background-image, font-size, margin-top, etc).
--Erik
On 3/29/07, Марат [EMAIL PROTECTED] wrote:
What effect are you referring to?
--Erik
On 3/28/07, Kush Murod [EMAIL PROTECTED] wrote:
Hi guys,
Saw this awesome site, great concept, written in prototype
http://www.invisiblechildren.com/displaceMe/
Was just wondering if same idea can be accomplished using JQuery.
--
Kush Murod, Web
() {
riggit.init();
});
Would be most grateful for any help...
Regards,
Chinmay
bmckenzie wrote:
Thanks Eric.
Erik Beeson said the following on 3/26/2007 9:47 AM:
Even easier than that:
jQuery.fn.sort = function() {
return this.pushStack( jQuery.makeArray
You want ScrollTo or ScrollToAnchors from Interface:
http://interface.eyecon.ro/
--Erik
On 3/21/07, Peter Bengtsson [EMAIL PROTECTED] wrote:
Can I move to an anchor with jQuery?
I.e. the equivalent of what the browser does with:
a href=#footerfooter/a
--
Peter Bengtsson,
work
Perhaps too popular for its own good ;-)
I believe that's exactly the problem. The powers that be are working
to improve the situation. Everybody can help out by making liberal use
of the donate button :)
--Erik
___
jQuery mailing list
Even easier than that:
jQuery.fn.sort = function() {
return this.pushStack( jQuery.makeArray( [].sort.apply( this,
arguments )) );
};
See here: http://dev.jquery.com/ticket/255
Looks like I'm still about the only person that actually uses this.
--Erik
On 3/26/07, Luke Lutman [EMAIL
I don't see that. What URL?
--Erik
On 3/23/07, Kush Murod [EMAIL PROTECTED] wrote:
Hey guys,
I know I haven't been smoking crack and I saw this message on the website
jQuery JavaScript Library has a problem was that supposed to happen?
K
___
I recall there being a number of the sky is falling type things in the
past relating to XSS and JavaScript. One in particular that seemed to get a
lot of press argued that XMLHttpRequest was insecure because it could be
overloaded. Like John said, at the point of allowing your core javascript
FWIW, these tests are run against jQuery 1.1.1.
--Erik
On 3/22/07, codar [EMAIL PROTECTED] wrote:
Please check this:
http://homepages.nildram.co.uk/%7E9jack9/base2/speedtest/
--
View this message in context:
http://www.nabble.com/Is-the-JQuery-slowest--tf3448821.html#a9618984
Sent from the
I sent a message about this same thing an hour and a half ago. Is the list
slow or is there something wrong on my end?
--Erik
On 3/20/07, Yansky [EMAIL PROTECTED] wrote:
I just saw this as I was browsing delicious. It seems to be another new
library. It's based on YUI has the developer
I recommend avoiding invalid HTML.
--Erik
On 3/19/07, Magnús Örn Gylfason [EMAIL PROTECTED] wrote:
Hi,
I'm having a bit of a problem with the attribute selector in jquery.
Given html like:
form
input name=one type=text/
input name=two type=text check/
input name=three type=text
I think checked is a special case...
--Erik
On 3/19/07, Magnús Örn Gylfason [EMAIL PROTECTED] wrote:
Jörn Zaefferer wrote:
Magnús Örn Gylfason schrieb:
Putting an empty string there has no effect, still only finds input three
I guess it doesn't find that because there is no value
Perhaps fun as an exercise, but it looks like a lot of overhead for
relatively little gain. Also, it doesn't really fit my idea of MVC. In this,
the Controller is pushing information from the Model into the View. To me,
the View is supposed to pull information from the Model, and the Model is
Try it. Firebug makes it easy to see the order that things are loaded and
how long they take.
I will say keeping script tags in the head makes the body DOM cleaner, FWIW.
--Erik
On 3/18/07, Kush Murod [EMAIL PROTECTED] wrote:
Do you guys think
loading js files at the bottom of the page
There's nothing AJAX or even jQuery specific about changing the page title.
Just set document.title:
document.title = My title;
Google 'javascript page title' for more info.
--Erik
On 3/17/07, Agrawal, Ritesh [EMAIL PROTECTED] wrote:
Hi,
I wanted to know is it possible to set page title
Sounds like you're looking for something like has a class with this name
been defined. As far as I know, such a concept doesn't exist. But I think
your approach is flawed. Instead of trying to only define a style if it
didn't exist, I think you want to define the defaults first, then allow
other
Check out the source for thickbox. There's a function to call that hides it,
I think it's TB_hide() or something. You need to call it in the context of
the parent page, not the context of the iframe. So from within the iframe,
you could do parent.TB_hide() or top.TB_hide().
--Erik
On 3/16/07,
For some reason, I often forget the closing ] when doing attribute
selectors. Gets me every time.
Maybe that previously suggested debug build of jQuery can have a selector
syntax checker. *ducks* (kidding)
--Erik
On 3/16/07, Michael E. Carluen [EMAIL PROTECTED] wrote:
Hey thanks Daemach. I
Did they also require backwards compatibility with Internet Explorer 3? At
least you could still use CSS1.
--Erik
On 3/15/07, Klaus Hartl [EMAIL PROTECTED] wrote:
Benjamin Sterling schrieb:
I was actually going to do Mamut's idea or a version of it. Since they
don't know what jquery is,
You basically want to have a timer that gets canceled if a key is
pressed before it executes. Something like this:
var search_timeout = undefined;
$(...).bind('keyup', function() {
if(search_timeout != undefined) {
clearTimeout(search_timeout);
}
var $this
http://docs.jquery.com/Events#resize.28_fn_.29
So you probably want:
$(window).resize(function() {
...
});
IIRC, some browsers fire the resize event on load, and some don't.
Watch out for that.
--Erik
On 3/14/07, rolfsf [EMAIL PROTECTED] wrote:
with jQuery, how do I fire off a function or
Like pseudo packages/namespaces.
--Erik
On 3/14/07, Jörn Zaefferer [EMAIL PROTECTED] wrote:
Daniel MacDonald schrieb:
It seems the former opens up the door to unintended closures. What are the
benefits of doing it this way as opposed to the traditional non-jQuery way?
Thats it! By
There's an awful lot to what you're asking. It sounds less like jQuery
help, and more like consulting work...
I could imagine a long list of rows (DIVs or SPANs or TRs) that have
a nested DIV that has the full contact details. Then just something
like (untested pseudoish code):
This start with what's easy idea is the same philosophy that I use
for building sites. First make it work in FF, then figure out how to
hack it up to work in IE (and pray that it works in Safari/Opera).
--Erik
On 3/14/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote:
Benjamin, Here' my 2 cents... write it in
, i wonder why i didn't think
of it before.
-Original Message-
From: Erik Beeson [mailto:[EMAIL PROTECTED]
Sent: jeudi 15 mars 2007 0:54
To: [EMAIL PROTECTED]; jQuery Discussion.
Subject: Re: [jQuery] rollodex ui
There's an awful lot to what you're asking. It sounds less like jQuery
Seriously. jQuery is much lighter than something like dojo...
sed s,jQuery,helper,g jquery.js helper.js
--Erik
On 3/14/07, Scott Sauyet [EMAIL PROTECTED] wrote:
Benjamin Sterling wrote:
So I take a look at the specs and my brain just goes limp.. I CAN'T
THINK OF HOW I WOULD DO THIS
self always referers to the the Window object (I think?)
this can be set based on the context (like jQuery does with event
handler functions)
FWIW, I don't find 'self' mentioned in the ECMA spec...
--Erik
On 3/13/07, Jörn Zaefferer [EMAIL PROTECTED] wrote:
Hi folks,
the infamous ppk wrote in
Given that you don't need (or want) debug functionality in a
production environment, I would argue that this is better suited to a
plugin and doesn't belong in the core.
--Erik
On 3/12/07, Daemach [EMAIL PROTECTED] wrote:
I would like to be able to dump the contents of the current selector to
You're using the 'containment' parameter incorrectly. Refer to the
documentation for the proper usage:
http://interface.eyecon.ro/docs/drag
--Erik
On 3/12/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi,
After reading through the documentation, I have a more sensible question
about
Assuming your checkbox is called 'cb' and your submit button is called
'sub', try this:
$(function() {
$('#cb').click(function() {
if($(this).is(':checked')) {
$('#sub').removeAttr('disabled');
} else {
h2 has a background image which I want to change when its open...
I don't expect anyone to teach me js here as I'm a noob and learning, but
can anyone point in the right direction for the image swap?
Maybe something like:
$(...).css(background-image, url('/new/image/here.jpg'));
--Erik
Use Thickbox in iframe mode and bounce the content off your server.
Otherwise, manually get the values from the form and generate a div
with the preview content in it (all from javascript).
Submit form data to an iframe is a flawed idea.
--Erik
On 3/4/07, Seb Duggan [EMAIL PROTECTED] wrote:
this with a normal HTML page, but how do I submit the
data via POST and get the resulting page into a Thickbox iframe?
Seb
On 4 Mar 2007, at 19:16, Erik Beeson wrote:
Use Thickbox in iframe mode and bounce the content off your server.
On 3/4/07, Seb Duggan [EMAIL PROTECTED] wrote:
I'm
It should also be noted that the Metaobjects plugin is, fundamentally,
faster than the Metadata plugin as it can quickly search through a DOM
structure for a specific pattern, rather than trying to load the
information on the fly.
I'm unclear about the performance difference between the two
I'm curious to hear other people's thoughts on this approach. If it's
a sound idea, why isn't it part of the official metadata plugin?
--Erik
On 3/1/07, Andrea Ercolino [EMAIL PROTECTED] wrote:
I was wondering if anyone is using my
http://www.mondotondo.com/aercolino/noteslog/?page_id=105
*cough*java*cough*
Gotta represent!
--Erik
On 2/27/07, Andy Matthews [EMAIL PROTECTED] wrote:
jQuery cannot be directly connected to a database server. You'd need some
sort of programming language such as Coldfusion, PHP or ASP.
From: [EMAIL PROTECTED]
Awesome work! Looking forward to giving this a spin.
--Erik
On 2/27/07, John Resig [EMAIL PROTECTED] wrote:
Hi Everyone -
The release of jQuery 1.1.2 is upon us! This is a another bug fix
release. We've fixed a number of outstanding issues. The fixes have
been tested well, so there
addClass(json.class) addClass and jquery die with no visible error in firebug
I've found proper exception handling can help track down no visible
error type bugs:
try {
// code here
} catch(e) {
alert(There was a problem with that code: + e);
}
But like Karl said, using class is probably the
Umm, non-ajax request?
function compDetail(compid) {
window.location = compdetail.php?compid= + compid;
}
Or maybe I'm not understanding the question...
--Erik
On 2/22/07, Brian Ronk [EMAIL PROTECTED] wrote:
This is a little strange, but I want to do a non AJAX request. I
thought it might
Why to not use a link might be because the URL is generated by some
javascript code. If the compid part is know at the time the page is
rendered, then certainly a link made in PHP would be best:
a href=compdetail.php?compid=?= $compid ?.../a
--Erik
On 2/22/07, Alex Ezell [EMAIL PROTECTED]
That sounds pretty easy:
$('.accordion').click(function() {
$(this).siblings().toggle();
});
See it here:
http://www.erikandcolleen.com/erik/projects/jquery/accordian_table.html
--Erik
On 2/20/07, rolfsf [EMAIL PROTECTED] wrote:
I misspoke - now that I look at it closer and play with
Since you asked...
1) Are you using Rails?
No.
2) If you're not, would you if it was easier to use jQuery with Rails?
No.
--Erik
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
-moz-border-radius: 10px;
-khtml-border-radius: 10px;
-o-border-radius: 10px;
border-radius: 10px;
And be done with it. These hacked up corner rounding things are nasty.
--Erik
On 2/15/07, Dave Methvin [EMAIL PROTECTED] wrote:
Problem is, the corners get rounded, but if I float my
DIV
From http://docs.jquery.com/DOM/Traversing/Selectors#CSS_Selectors :
[EMAIL PROTECTED] an E element whose foo attribute value begins exactly
with the string bar
So maybe (untested):
$('[EMAIL PROTECTED]') where foo is what the all of the IDs start with.
You know you can style classes too...
The animation functions accept a callback function as a parameter that
gets called when the animation has finished. You probably want
something like this:
$('.topMenu').click(function(){
var next = $(this).next();
next.addClass('active');
Am I missing something or is there no jQuery way to load remote
javascript? Looks like $.getScript() uses XHR, so it doesn't work.
--Erik
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
By remote, I meant different domain, so XHR doesn't work. I'm working in a
very controlled environment, and don't need the callback (actually, the
remote script calls the callback). I'm currently using something like this:
if($.browser.msie) {
script = document.createElement('script');
FYI, Droppables don't play nicely with fixed positioning. Scroll offset is
added to the position of the Droppable, which is wrong in the case of its
position being fixed. This throws off the hover calculation. Seems like the
right way to check for hover that would deal with this without breaking
How controlled is the environment? Many browsers can be configured that
scripts from a specific domain may load data from another domain via
XMLHttpRequest. Please don't ask me for details now, but I had that
problem
once in an environment with only IE 6.
Not that controlled. I mean I'm
Never saw Linerider before, that is really cute. Will have to try it on
the
tablet PC.
Far, far off topic now, but since somebody else mentioned it, I might as
well point out this excellent roundup of some of the best Linerider runs:
At some point, it appears that window (as in, the JS object) gets run
through the setArray function that metadata overloads. The window object
doesn't have getElementsByTagName, so when I've done $.meta.setType(elem,
script), I get:
this.getElementsByTagName is not a function
var e =
Apparently I'm the only person that uses metadata and sort. Sort also broke
with 1.1, exactly the same way it did with 1.0.4 (see here:
http://jquery.com/dev/bugs/bug/255/. As was the case before, it was just
the result of some refactoring, but it took me all night to hunt down.
Here's the
The jQuery object is a chunk of the DOM, on steroids.
--Erik
On 1/16/07, Daniel McBrearty [EMAIL PROTECTED] wrote:
yes. Thanks. I have it now.
Any takers on my what is the jQuery object question? Is it simply an
array of elements that have been selected?
It may be kind of obvious, but it
Can you tell I'm upgrading to 1.1 tonight? :)
Draggable ghosting isn't working in interface 1.1 on FF because it does:
jQuery.iDrag.helper.css('opacity', elm.dragCfg.opacity);
opacity is a float, and css('opacity', float) doesn't work on FF anymore. I
changed it to:
Database error
From jQuery JavaScript Library
Jump to: navigation, search
A database query syntax error has occurred. This may indicate a bug in the
software. The last attempted database query was:
(SQL query hidden)
from within function MediaWikiBagOStuff::_doquery. MySQL returned error
Try:
if($(#second_field_to_enter).size() 0) {
$(#second_field_to_enter)[0].focus();
}
I'd be interested to hear if there's a better way.
--Erik
On 1/15/07, Gerry Danen [EMAIL PROTECTED] wrote:
In this piece of code (common to a number of pages) I want to set
focus to a second input field
I'm no expert, but it seems $('tr td:eq(2)') is like select the third td
that is a child of tr. Whereas $('tr').find('td:eq(2)') is like for each
tr, select the third td. It sounds like the second one is what you want.
--Erik
On 1/11/07, Jacky [EMAIL PROTECTED] wrote:
Dear all,
If I want to
Scripting on top of an invalid HTML document won't make your life easier
(obviously). I'd try to replace spaces given by the user to _ in the
backend.
And then do what with underscores given by the user?
--Erik
___
jQuery mailing list
:
On 1/11/07, Erik Beeson [EMAIL PROTECTED] wrote:
Scripting on top of an invalid HTML document won't make your life
easier
(obviously). I'd try to replace spaces given by the user to _ in
the
backend.
And then do what with underscores given by the user?
Leave them as underscores
, Klaus Hartl [EMAIL PROTECTED] wrote:
Erik Beeson schrieb:
Scripting on top of an invalid HTML document won't make your life
easier
(obviously). I'd try to replace spaces given by the user to _ in
the
backend.
And then do what with underscores given by the user?
Come
That's what we ended up doing.
--Erik
On 1/11/07, Brandon Aaron [EMAIL PROTECTED] wrote:
On 1/11/07, Erik Beeson [EMAIL PROTECTED] wrote:
It was clear in my head, but I didn't explain it properly :)
I meant, if you replace spaces with underscores, and then you want to
*display* them
At the point of doing document.getElementById(t), you might as well just
return that since that's all jQuery is going to do anyways. You might
consider something like (only tested on FF2/win32):
jQuery.fn._find = jQuery.fn.find;
jQuery.fn.find = function(t, context) {
if (typeof t == 'string'
You want:
var a = [];
You've been doing too much C and Java :)
--Erik
On 1/11/07, Michael Geary [EMAIL PROTECTED] wrote:
var a[];
$(':checkbox').each(function() {
if (this.id) a.push(this.id);
});
I get this error:
missing ; before statement
var a[];
(curse my
http://jquery.com/docs/Base/Expression/CSS/
--Erik
On 1/9/07, agent2026 [EMAIL PROTECTED] wrote:
Hi all,
Forgive me if this is really basic, but what's the difference between *= and
^=, as in [EMAIL PROTECTED]
I thought *= was something like 'exact match', and ^= was 'contains', but
now
Hi Steve,
I don't normally offer feedback on sites because I'm a lousy designer,
but a couple of things jump out at me.
First, those 4 big buttons between the header and the content scream
1998 rollover button, which feel like they clash with the rest of the
generally modern looking site. Also,
Mike,
Nice! I've been doing it manually, but this looks really handy. Thanks!
--Erik
On 12/26/06, Mike Alsup [EMAIL PROTECTED] wrote:
This is a plugin for anyone who has an occasional need to simulate
synchronous ajax. Sync ajax locks the entire browser which is never a
good idea. This
Mike,
Nice! I've been doing it manually, but this looks really handy. Thanks!
--Erik
On 12/26/06, Mike Alsup [EMAIL PROTECTED] wrote:
This is a plugin for anyone who has an occasional need to simulate
synchronous ajax. Sync ajax locks the entire browser which is never a
good idea. This
The Tutorials page http://jquery.com/docs/Tutorials/ was edited about the
same time as the Plugins page. Might want to check it for defacing.
--Erik
On 12/24/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Quoting Yusuf Önder Us [EMAIL PROTECTED]:
Someone hacked it and put their website
I found an error in the docs, and checked the SVN version to see if it had
been fixed already. It had been, but while there, I found a trivial typo in
the same area:
http://jquery.com/dev/svn/trunk/jquery/src/ajax/ajax.js#L478
Wheather is whether, at least in American:
I've spent the past few hours fighting with exactly this type of problem. My
problem is using $.post or a comparable $.ajax call. It seems like there's
something wrong with the object getting passed to the callback. Any attempts
at getting at the data seems to make things just hang, in that, the
Now my data is getting returned properly, I can do
$(...).size()/.childre()/.tex(), but $('.success', data).size() still equals
0. Argh.
This part at least was solved using an attribute selector for the class
attribute. This is working well enough, but dealing with XML is still
frustratingly
Looks nice. One thing I notice is the background for the thickbox appears to
only be as tall as the content, not the whole window.
Is it time for a jQuery powered wiki page yet?
--Erik
On 12/20/06, Michael Price [EMAIL PROTECTED] wrote:
Hiya folks,
Thought I'd take a few minutes to ask for
Sounds like you want the overflow CSS property?
http://www.google.com/search?q=css+overflow
--Erik
On 12/20/06, Brian Smith [EMAIL PROTECTED] wrote:
Hi,
I love jquery so far, just learning.
I'm trying to develop a scrolling effect, to scroll a list of news
headlines inside a div tag. I'm
The sort plugin http://jquery.com/dev/bugs/bug/255/ breaks in jQuery
1.0.4 with the following error:
second argument to Function.prototype.apply must be an array
Down in set(), called from pushStack. Apparently, the array returned from
apply isn't array enough to pass into apply down in set. I
IntelliJ IDEA does a pretty good job at autocompletion.
What I really need is that roast beef sandwich.
--Erik
On 12/20/06, Jörn Zaefferer [EMAIL PROTECTED] wrote:
Erik Beeson schrieb:
That's an awesome quote on the main page. I expect a jQuery IDE soon
that actually WILL read my mind. I
it doesn't return false, and the browser changes the
document location, which might prevent the exception from showing up
in firebug or the javascript console.
- Dotan
Erik Beeson wrote:
function(data) {
alert(data); // shows XMLSomethingOrOther
$('success',data).text(); // or .children
I do use gvim when I don't have IDEA handy).
--Erik
On 12/20/06, Jörn Zaefferer [EMAIL PROTECTED] wrote:
Erik Beeson schrieb:
IntelliJ IDEA does a pretty good job at autocompletion.
What I really need is that roast beef sandwich.
Ok, I understand your desire for a roast beef sandwich
That's an awesome quote on the main page. I expect a jQuery IDE soon that
actually WILL read my mind. I start typing:
$('span').filter('.links').cli
And a little red devo hat pops up with a little speech bubble and taps on my
screen: Excuse me, it looks like you're trying to add a click
I think, by design, events aren't cloned. Just reapply the click event
handler when you do the cloning:
$(...).clone().click(click_handler).appendTo(...);
The docs should probably clarify this behavior.
--Erik
On 12/19/06, Shahbaz [EMAIL PROTECTED] wrote:
I have a table with several rows
I was avoiding using just $(.newWindow), or $(#newWindow), because then
jQuery has to search the whole document for that class or ID. Whereas if I
use $(a.newWindow) or $(a#newWindow), it's faster because jQuery then
only examines the A tags, and nothing else. Am I right in thinking that.
This is probably a corner case that isn't worth dealing with, but
while I was holding one of the arrows, I accidentally bumped the right
mouse button, which brought up the right-click menu. Whoops, I
thought to myself, and clicked off in the white space of the page to
get rid of it. When I looked
On 12/15/06, Matt Stith [EMAIL PROTECTED] wrote:
To shorten:
a.class .class
#id a#id
This could be misleading. It depends on what you're comparing. It
looks like you're comparing execution time, in which case the
inequalities are backwards. Obviously your comparing performance
where greater
$.fn.zoom_in = function() {
var self = arguments.callee;
...
setTimeout(self, time_length);
Also, it's bad form to use $ in a plugin function. Use jQuery(...)
instead of $(...)
--Erik
On 12/15/06, Mungbeans [EMAIL PROTECTED] wrote:
I am (attempting) to convert a standard javascript
= setTimeout(arguments.callee,5000); to do my recursive calls.
(it works for me!)
On 12/15/06, Mungbeans [EMAIL PROTECTED] wrote:
Erik Beeson wrote:
setTimeout(self, time_length);
This line is now returning an error (its on line 430):
missing ] after element list
Rounded corners are easy:
border-radius: 10px;
-moz-border-radius: 10px;
And a link to http://www.getfirefox.com/
--Erik
On 12/14/06, Rey Bango [EMAIL PROTECTED] wrote:
Just a very quick note about a site that I found that will generate
rounded corners on the fly. The site is:
You may want to consider looking into using jXs:
http://www.malsup.com/jquery/jxs/
The problem is XML doesn't work like HTML when inserted into the DOM, even
though it looks like HTML. I hacked up some code from jXs to convert the XML
into HTML and made it a little plugin called htmlify. I use
Could you give an example of how you're trying to access the metadata?
--Erik
On 12/13/06, Chris Domigan [EMAIL PROTECTED] wrote:
Hi all,
I'm having a problem with John's metadata plugin.
The value of the parameter arr in the jQuery.fn.get function in
metadata.js is always undefined, so at
A Google search for missing ; before statement yields:
http://www.google.com/search?client=firefox-arls=org.mozilla%3Aen-US%3Aofficial_shl=enq=%22missing+%3B+before+statement%22btnG=Google+Search
The first hit is this:
http://www.webdeveloper.com/forum/archive/index.php/t-28861.html
The last
I can confirm that the metadata plugin doesn't work with 1.0.4. It works
fine with 1.0.3 though.
--Erik
On 12/13/06, Chris Domigan [EMAIL PROTECTED] wrote:
I've tried lots of ways:
given: td class=blah data={foo:'bar'}/td
$(td.blah).get(0).foo;
$(td.blah).each(function() {
this.foo;
});
( this, arguments );
...
Should this be filed as a bug report, or is the matadata plugin not
official?
--Erik
On 12/13/06, Erik Beeson [EMAIL PROTECTED] wrote:
I can confirm that the metadata plugin doesn't work with 1.0.4. It works
fine with 1.0.3 though.
--Erik
On 12/13/06, Chris Domigan [EMAIL
If I include a callback function into the JSON call, eg:
$.getJSON(index2.php,
{no_html:1,
task:getsection, option:com_gravesearch,
sectionid:sectionidVal },
function(json){
alert(json);
}
);
Then I get
Could you try removing it just to see if that fixes the error? Does the same
thing happen in IE?
--Erik
On 12/13/06, Mungbeans [EMAIL PROTECTED] wrote:
Erik Beeson wrote:
I notice your code also has an underscore in a parameter name. Maybe try
removing the underscore?
Just realised you
Hello all,
I'd like to return something like this from an ajax call:
success[html fragment]/success or errorserrorError
message/error.../errors
Where the html fragment is like div id=fooscript
type=application/json{foo: 'bar'}/scriptspanSome
stuff.../span/div.
I would like to insert the html
Congratulations on this. I can honestly say that jQuery has literally
revolutionized the way I write javascript. I had played around with
prototype/behaviour, and was just about to start using it on a big project
when I came across jQuery. I really can't imagine the nightmare that it
would have
doesn't display in FireFox, and i use DOM Inspect, the div#test actually
have content.
Are you saying the div DOES have content, it just isn't displaying?
--Erik
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
1 - 100 of 138 matches
Mail list logo