Jason Karns wrote:
I saw your toXML plugin and the thread where you were discussing its
creation. I've run into a situation where I need to serialize the page
to XML. However, the majority of the page is form elements and I need
the actual values of these elements serialized, and not the
Bruce MacKay wrote:
Hi folks,
I don't understand what I'm doing wrong in the following code (
http://temporarius.massey.ac.nz/json_test.htm) where I cannot seem to
harvest the returned json string.
The test json string being returned after the form is submitted is:
{fields: [{id:
Jörn Zaefferer wrote:
Currently val() is only a shortcut, but doesn't encapsulate anything useful.
It would be nice to have it handling some more stuff.
I wouldn't like to have it in an external plugin, that makes it difficult to
access or find it when you actually need that functionality.
Truppe Steven wrote:
Mark Gibson schrieb:
In PHP have a look at:
utf8_encode(), iconv, or mbstring
I think i haven't clearly told my problem: I just have some article
manager where for each article i have some description text (german
english). At the moment i have one php file loading
Yehuda Katz wrote:
Consider ticket 342 closed. I just committed your patch in the latest svn.
-- Yehuda
Thanks, but it doesn't seem to be there! The trunk is at rev 549 at
present, is this what you're seeing?
- Mark.
___
jQuery mailing list
Mark Gibson wrote:
I've adapted the console.js script originally found here:
http://wish.hu/firebug-on-explorer
Added pretty dumps of objects, arrays, elements, etc.
My new script can be fetched from here:
http://jollytoad.googlepages.com/browsercompatibility
Andy Matthews wrote
Stephen Woodbridge wrote:
Mark Gibson wrote:
I've not had chance to test it, but I'm sure all elements
have a resize event. If not then the resizeable plugin can
trigger() it itself.
Hi Mark,
I tried to do this like this:
$(document).ready(function(){
$('#resize_map').Resizeable
, this should
be more reliable and future proof than browser sniffing
(in case MS ever support table-row!):
var rowdisplay = $('tr/tr').css('display');
Tested in FF2.0, IE7/6/5.5, Opera 9.02
Regards
- Mark Gibson
___
jQuery mailing list
discuss@jquery.com
that it (and other tickets) are
going to get ignored - could the site be changed to force
a login before submitting/changing stuff (maybe using the
mailing-list email and password)?
Cheers
- Mark Gibson
___
jQuery mailing list
discuss@jquery.com
http://jquery.com
/browsercompatibility
Hope you find it useful, I do!
PS. Improvements are very welcome.
Regards
- Mark Gibson.
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Stephen Woodbridge wrote:
Hi Stefan,
I have been trying your resize plugin, it is really slick and works great!
I have a request, does it already have or can you add the ability to
added a call back at the end of the resize, so other code can be
notified of the change in size? Like
],
fragment: m[9]
};
}
So:
$.parseURI($(this).attr(href)).query
would return the query string, which can then be parsed
by the function above, or combine the two functions.
- Mark Gibson
___
jQuery mailing list
discuss@jquery.com
http
Ⓙⓐⓚⓔ wrote:
let's just use the informal type text/x-jquery-json that contains 1 js
object
or text/x-jquery-text for an unquoted string of chars
and others...
There is an official 'application/json' media type registered at IANA.
http://www.iana.org/assignments/media-types/application/ and an
];
}
a++;
}
// Return the modified object
return obj;
};
- Mark Gibson
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Chris W. Parker wrote:
On Tuesday, October 31, 2006 10:46 AM Luke Lutman said:
Have a look at this recent thread :-)
http://www.nabble.com/method-plugin-for-getting-query-string-vars--tf248
1232.html#a6919130
I read through this and tried to implement your first suggestion but I
notice
Paul McLanahan wrote:
@jake
I'm really liking the code tag idea. If I'm understanding you
correctly, it would work something like associating a label to an input
using the for attribute. I'd just be associating a code tag's
contents with a specific DL either by location in the markup or
asterocean wrote:
for exzample:
$([EMAIL PROTECTED]'text']).each(function(){if
(this.value==){alert(error);this.focus();break;}});
but 'break;' won't stop the iteration of each, what should i do?
There was some discussion on this list of returning false
to break the loop - but I'm not
the raw request data
(via $HTTP_RAW_POST_DATA).
This will also allow the correct submission of XML, and other formats.
I've attached a patch against ajax.js
Cheers
- Mark Gibson
Index: ajax.js
===
--- ajax.js (revision 512
as true, then the string will
be checked for valid JSON syntax.
Safety checks can be set globally by setting:
$.parseJSON.safe = true;
You can find the code here:
http://jollytoad.googlepages.com/json.js
Regards
- Mark Gibson
___
jQuery mailing list
are the jerky motion
in Firefox and the out-of-whack offsets in IE.
Can anyone help?
Cheers
- Mark Gibson
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Armand Datema wrote:
I just found this link
http://www.jackslocum.com/yui/2006/08/19/a-splitbar-component-for-yahoo-ui/
Does a jquery version excist yet?
I don't about that, but have you tried the
'Click here and I will point it out' link!!!
Wow! That's it, documentation is going in the
John Resig wrote:
e.g.:
$( '.b0rp' ).filter( '#blap' ).on.click( function() { $( '#foo'
).ajax.load( ... ) } );
Why no just do .onclick() and .ajaxLoad() - like what was proposed?
Not only is it fundamentally easier to write and understand, but it's
easier to implement too.
The
John Resig wrote:
The thread about benchmarks got me thinking about compilation and caching of
selectors too. It could be a big win for benchmarks where they use the same
selector in a loop 1000 times! :-)
The problem with caching is that it's unable to handle situations
where the DOM
Dave Methvin wrote:
So my take was that the performance payback for simple selectors called
frequently could be good, but those cases are already pretty fast--we're
reducing a number that's already small. Complex selectors would still
require helper functions or compiled-in loops on every
Steven Wittens wrote:
[snip]
Also to avoid having to use templated JS, we have a transparent
mechanism for passing data from PHP to JS. All you do is call an API
drupal_add_js(), which aggregates all variables that it is passed,
and automatically inserts them as a single inline script
Jörn Zaefferer wrote:
If we go back to the roots and stick to bind(), unbind(), trigger(),
attr() and css(), we could remove all those events and html and css
attribute shortcut methods, greatly reducing the number of methods. By
adding those methods, or rather only parts of it, like
() {
console.log('p load');
});
});
I'm not sure about $(document).load though, never used it!
- Mark Gibson
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
just started this today :)
- Mark Gibson
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Jörn Zaefferer wrote:
it's time for another release candiate, this time including even more
bug fixes and nothing else.
IE 6.0.2900.2180 (XP SP2) - 1 tests of 211 failed:
38. $.find() (1, 42, 43)
Firefox 1.5.0.7 - ok
(test #55 failed once - but I think this may have been down to a network
Hi,
I've submitted the XML serializer plugin to the wiki:
http://jquery.com/docs/Plugins/toXML/
- Mark Gibson
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
- Mark Gibson
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
($.stylesheet.list, function() {
if (typeof this == 'function') {
this.call(self);
}
});
}
return this;
};
What do you think?
Cheers
- Mark Gibson
(I've resent this email, as it didn't
|| );
}
}
if (typeof callback == 'function') callback.call(self);
}
exec($(this).filter('script'));
return this;
};
BTW: this was tested with jQuery rev 384.
Cheers
- Mark Gibson
Brian wrote:
Looks good, but please don't use eval as the function name. It's a Bad
Idea to overload reserved/predefined words, even if namespaced.
Oops, sorry. I was going to rename it before submitting the suggestion.
How about:
evalScript()
exec()
execScript()
any
+= this.xml;
});
}
return out;
};
It seems to work in FF 1.5.0.7 and IE 6, but needs testing
in Opera and Safari.
- Mark Gibson
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Hi,
I've just tried an update from SVN, (add a checkout to double check)
and just keep getting the following error:
Can't find temporary directory!
It seems to be just on jquery.com, as my other svn sandboxes update ok.
- Mark.
___
jQuery mailing
Dan Atkinson wrote:
Why the bottom?
Is that where the Apple menu is? I don't know, I don't have an Apple
computer.
I like the idea of cloning the icon to maintain the menu position. I'll be
honest and say that I simply don't have the JS/jQuery knowledge to clone it.
Is it just:
Hi,
I was thinking that due to it being such a common problem, I'd like to
suggest adding the iframe hack for IE to the jQuery core.
(To hide select elements beneath a positioned element)
The plugin below appends an iframe with the necessary css so that you
don't need any messy hacks in your
Brandon Aaron wrote:
I've actually just recently implemented the mousewheel and thought
about writting it as a plugin. There are a few special situations that
need to be considered. For example IE allows a mousewheel event to be
attached to an element in the dom and Firefox allows it only to
Brandon Aaron wrote:
BTW ... Great idea on using the expression css and the mask filter!
That reduces the code lots.
Cheers, I haven't even got a clue what the mask filter does!
It was suggested in the date picker plugin.
Normally I steer clear of this wierd IE specific stuff, but
this seemed
Hi Stefan,
I've just downloaded the latest Interface today,
it seems to be throwing up a few errors in idrag.js:
During a drag operation:
newCoords has no properties, line 340:
if (newCoords.constructor == Object) {
After a drag operation:
elm is not defined, line 287:
Mark Gibson wrote:
Ideally I'd like to have a single Droppable on the whole table,
and use the 'ondrop' callback, but having the position of the pointer
(relative to the table element) passed to the callback function,
is this possible?
Right, I've solved it. To recap the problem:
I have
Mark Gibson wrote:
John Resig wrote:
Just a hunch, but IE's DOM support isn't native Javascript. If they got
their typelib wrong it may be trying to call getAttribute rather than check
elem for a getAttribute property. Can you replace that last line with this
and see if it works
- Mark Gibson
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Stefan Petre wrote:
When you drag an element each droppable is interrogated until overlaps
or to the end if no droppable is overlapped. If you have a large amount
of drop zones in a grid with the same dimensiunos then you can use
'onDrag' and 'onDrop' callback from draggable to use
server rejected it!!!)
BTW, this works fine in Firefox, what a surprise! ;)
Cheers
- Mark Gibson
(jQuery: r249)
(IE: 6)
Title: jQuery Testing
Test
Your
Mum
test
data stuff=0/
data stuff=1/
/test
$(function() {
alert($([EMAIL PROTECTED]).length); // This works (shows: 2
?
Cheers
- Mark Gibson
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
- Mark Gibson
PS. Sorry if this isn't the right place, but I couldn't find a bug
list, SF style management, etc.
BTW. Is Interface accessible via anon CVS/SVN from anywhere?
--- interface/idrag.js 2006-09-04 21:20:00.0 +0100
+++ DL-trunk/js/jquery/interface/idrag.js 2006-09-06 13
48 matches
Mail list logo