hi,
when using the $.post() the second argument is for the data to be
send. is there a shortcut way of specifying all the data in the forms?
rather than manually doing {'field1':'value1', 'field2':'value2', ...}
Thanks
james
@Jörn: thanxs, I love jquery. Obviously, i did'nt mean to highlight what
others Do wrong, but what others Don't do at all and I needed for my
Intranet purposes. Anyway, I changed the tone of the page
(http://www.ita.es/jquery/kikegrid.htm) as you can see :-)
Of course I'll upgrade to UI,
Very good idea Olivier,
I will update this in the plugin.
Tony
On 8 Окт, 02:19, Olivier Percebois-Garve [EMAIL PROTECTED] wrote:
Very slick work tony
May I suggest to add a loading icon (maybe with status of the queue) ?
I have an erratic Internet connection and nothing tells me if the next
Ryura,
I know that the documentation describes only options and methods and
does not have a detailed step by step guide.
About PHP - jqGrid can work not only with PHP (this is just example).
It work with any server side language like ASP, CF that can generate
XML or JSON data from database.
In
I'm working on fixing my JSS plugin for IE, it appears that IE has
really problems with showing you the source of stylesheets that are
between style tags.
$('style').text() - returns null
$('style').html() - returns the source but it is modified, e.g. all
non-supported selectors are changed to
the plugin now works with jquery 1.2 and the jquery.easing.1.2 plugin
GC
Andy, you can read or write the content of an IE stylesheet with:
$('style')[n].styleSheet.cssText
where n is the index of the stylesheet you want.
Instead of browser detection, I test for the presence of that .styleSheet
property, and then either use .styleSheet.cssText or .text()
Thanks Mike, that's a huge help and sounds like it will solve my
problem perfectly. I will have a play now.
Should jQuery not be clever enough to handle this internally when you
call .text() on a style element?
Is it worth filing as a bug do you think?
Andy.
On 8 Oct, 11:07, Michael Geary
Unfortunately after some experimentation this method still appears to
yield 'UNKNOWN' in place of selectors that are not understood by IE.
Poo.
On 8 Oct, 11:15, Andy Kent [EMAIL PROTECTED] wrote:
Thanks Mike, that's a huge help and sounds like it will solve my
problem perfectly. I will have a
I noticed that you have added String.prototype.trim. jQuery actually
has this already, e.g. jQuery.trim( foo );
An easy was to get better CSS support in browsers that are not up to
it. Maybe in a future version, browsers that are capable will just be
ignored?
Also, maybe best to wrap it in a
On Oct 7, 4:39 am, Andy Kent [EMAIL PROTECTED] wrote:
snip
http://andykent.bingodisk.com/bingo/public/jss/
I *exactly* wanted to do the same plugin. I also used similar idea in
some of the projects already (crude code without plugin). My ideas
were:
1. Common crossbrowser CSS in a file, say
On Mon, 2007-10-08 at 04:14 +, [EMAIL PROTECTED] wrote:
I have just posted my very first plug-in.
Is an easy and unubitrusive script to create and manage sliding panels
with for the moment quite few options.
I'd really should like to have some feedback about the coding.
Demo page and
See:
http://docs.jquery.com/Frequently_Asked_Questions#How_do_I_compress_my_code.3F
- Richard
On 10/8/07, Pops [EMAIL PROTECTED] wrote:
What I can download to pack and minified my javascript code?
Thanks
WOW!
@Daniele.
I think I do not understand what you mean.
Please give me more details ( I also speak italian if you need it).
@Duncan
Thanks for the suggestion. That's a nice idea to implement.
I will work on that.
Andrea
On 8 oct, 06:44, Duncan Heal [EMAIL PROTECTED] wrote:
Thanks. It's great
http://www.gcmingati.net/wordpress/2007/09/12/seeing-it-burn-gives-me-the-chills/
integrated in a post, as it was invented for.
;-))
GC
My pleasure. Just giving back to the rest of the list.
_
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Abubakar Saddique
Sent: Friday, October 05, 2007 1:22 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Selector with Pipe (|) character not working
Pops,
Check out YUI compressor:
http://www.julienlecomte.net/blog/2007/08/13/introducing-the-yui-compressor/
Rey...
Pops wrote:
What I can download to pack and minified my javascript code?
Thanks
Still looking to see if this is possible.
My solution (not very elegant) was to replace paragraph tags with br /
tags, then split on the br / tag like so:
html
head
title/title
/head
body
br /br /
this is the first paragraph...
br /br /
this is the second
Always provide a link GianCarlo so that new folks can find the plugin
easier.
Rey
GianCarlo Mingati wrote:
the plugin now works with jquery 1.2 and the jquery.easing.1.2 plugin
GC
Link to the plugin:
http://www.gcmingati.net/wordpress/wp-content/lab/jquery/imagestrip/imageslide-plugin.html
BTW, slideViewer rocks. ;)
GianCarlo Mingati wrote:
http://www.gcmingati.net/wordpress/2007/09/12/seeing-it-burn-gives-me-the-chills/
integrated in a post, as it was invented for.
I've pinched some code from Christian Bach (http://lovepeacenukes.com/
jquery/ie6cssfix/) and put it into it's own test case. Tested it on
Win IE 6/7, FF 1.5/2, Safari3, Opera 9 and they all showed the same
results.
Test it out. Hopefully it can help.
'ello all,
I was using Thickbox on an image gallery to show enlarged pictures - so
far, so good. Until the boss points at one of our other sites where the
enlarge viewer drops open, slides sideways, then the close button drops
down afterwards - and says he wants it to work like that. I
Someone JUST posted a link to their direct jQuery Lightbox conversion.
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Michael Price
Sent: Monday, October 08, 2007 9:16 AM
To: jquery-en@googlegroups.com
Subject: [jQuery] Replicating Prototype
Andy Matthews wrote:
Someone JUST posted a link to their direct jQuery Lightbox conversion.
Which is exactly the one I just found on Google as well :)
I think instead of think before you speak I should invest time in
Google before you type - although that would be tricky since you have
to
Hey Michael...I hope you didn't take offense at my comment. I wasn't try ing
to be rude. I was just surprised that you asked that question right after
someone posted the answer. I just thought it was a really fun coincidence.
-Original Message-
From: jquery-en@googlegroups.com
This has the same issue I'm afraid.
It works for all those examples as IE thinks they are valid. Give
something like div~p:first a go though and I you get the selector
replaced with the string 'UNKOWN' in the innerHTML source code.
Thanks for the attempt but sill no prize yet!
:( *tears*
Andy Matthews wrote:
Hey Michael...I hope you didn't take offense at my comment. I wasn't try ing
to be rude. I was just surprised that you asked that question right after
someone posted the answer. I just thought it was a really fun coincidence.
No offence taken - sorry if my tone implied I
Excellent. Hope that helps. I just used Thickbox in a personal project.
Works a treat.
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Michael Price
Sent: Monday, October 08, 2007 9:56 AM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re:
Thanks Wizzud, that's some syntax I've been needing to know. Why can't
you use the $(this).id?
On Oct 7, 3:16 am, Wizzud [EMAIL PROTECTED] wrote:
NB . to add/change an id:
$('select[name=foo]').each(function(i){
this.id = 'bar'+i;
});
On Oct 6, 2:47 am, rgrwkmn
jarrod wrote:
Right after I posted I realized that it was because the element was hidden.
I changed the method to first show the element, then get the offset and that
works.
It would probably be useful if the dimensions plugin could handle that
scenario...
Inside http://www.insiderec.com/
When I clicked on the bottom left text to open a popup image the
following error occurs,
Permission denied to get property Window.node Type.
With the alert which is indicated only in firefox.
Working fine with IE.
Please tell me how should I solved this problem.
Hi Folks,
I'm struggling with some jQuery that is probably simple for most of
you.
I have a button on a screen that is having a click function added to
it.
When a user double clicks said button, the click function gets entered
twice.
I'd like to prevent the second entry into the function, as
Leandro,
Great job, I see some changes in the plugins work. I've seen a bug in the
overlay when resizing the window (maybe it's just a css bug).
And a suggestion would be that it shouldn't close when trying to select the
text, nor clicking somewhere while the lightbox hasn't loaded yet.
PS. I
Bump!
No one?
if home some like this:
$('div id=editLng_'+lng_id+'/div').appendTo('body');
now when i create new element i need to check if that element already
exist, if exist focus, else create. I cant find in jquery
documentation isExist statement or something like that.
Thanks.
GianCarlo Mingati wrote:
the plugin now works with jquery 1.2 and the jquery.easing.1.2 plugin
GC
URL?
Thanks!
Excellent info! What I was playing around was something almost like
what you had, but not quite. The devil is in the details like they say.
I'm using the below script to load html into a placeholder, it all
looks groovy but I want it to fade in, where do I add the .fadeIn() to
get this to work?
script type=text/javascript
$(document).ready(function(){
$(.thumbnail li).click(function(){
$(#large
Hi All!!!
I'm working with the Accordion plugin and wants the accordion menu with
100% height of the parent element (with height=100% or with
'position:absolute;top:0;bottom:0;')
Like the Accordion Windows in:
http://extjs.com/deploy/ext-2.0-alpha1/examples/window/desktop.html
How can I do
Hey guys,
Im hoping that someone here will be able to post me in the right
direction of an example for creating a TABLE from a JSON Dataset.
Im not sure what the best practice is for doing this and cant seem to
find any tutorials about it either :( im having no problem retrieving
the data, but
Sam Collett wrote:
I noticed that you have added String.prototype.trim. jQuery actually
has this already, e.g. jQuery.trim( foo );
Urg! No messing with core JS objects please - don't turn jQuery in to
another Prototype :(
@ All developers: Please, please, please namespace stuff
GianCarlo Mingati wrote:
http://www.gcmingati.net/wordpress/2007/09/12/seeing-it-burn-gives-me-the-chills/
integrated in a post, as it was invented for.
That's pretty nice - would it be possible to make the images clickable
so you progress to the next slide just by clicking the image?
You should add the stop function for a better animation ;)
jQuery(this).parent().parent().parent().prev().find(ul).stop().animate({
left: cnt}, settings.easeTime, settings.easeFunc);
On 10/8/07, GianCarlo Mingati [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
@Daniele.
I think I do not understand what you mean.
Please give me more details ( I also speak italian if you need it).
If I understand correctly, the scenario would be that when one panel is
opened the others would be closed - a bit like an accordion menu.
like $(someid).slideToggle ?
On Oct 8, 12:14 pm, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
I have just posted my very first plug-in.
Is an easy and unubitrusive script to create and manage sliding panels
with for the moment quite few options.
I'd really should like to have some feedback
http://www.joost.com
Fred
Yes. That certainly would have been an issue if I were doing the
testing on an XHTML 1.1 page. In fact, however, I'm doing it on a kind
of gateway page that gives access to more than one distance-learning
courses, only one of which (a Calculus course) needs the full MathML
capability. So I serve
Sweet find Fred. They must've recently added it in.
Rey...
Fred Janon wrote:
http://www.joost.com
Fred
check out this page in FireFox - http://www.agrawalinfotech.com/editor.html
As you can see I have 2 IFrames and I am setting then designMode=on
one using jQuery(document).ready method
and other with simple old body onload method.
First one (with document.ready) don't work (at least for me in FF
Ooooh...I like it. I'll give that a shot, thanks!
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of rgrwkmn
Sent: Sunday, October 07, 2007 10:14 PM
To: jQuery (English)
Subject: [jQuery] Re: HTML returned from GET: What's the best solution to
Thats strange, I've added lots of strange chars and it still works ok for
me.
Screenshots.
http://www.jdempster.com/public/jss/ie6.png
http://www.jdempster.com/public/jss/ie7.png
http://www.jdempster.com/public/jss/ff2.png
I did test it in more but these will do for now. Can any one else check
Hi, I'm trying to get the option with a specific value in it.
This is the syntax I use and doesn't works:
alert($('option:[value*=\'2\']', $('#category_1')).size());
It alerts 0, if I try without the value I get the correct size of the
options in the select.
Where's the error?
Thank you
zidoo wrote:
if home some like this:
$('div id=editLng_'+lng_id+'/div').appendTo('body');
now when i create new element i need to check if that element already
exist, if exist focus, else create. I cant find in jquery
documentation isExist statement or something like that.
Thanks.
Thanks a million both of you! I saw your responses over the weekend
but was unable to try them out until today, Monday.
It worked like a charm! jQuery rocks! Thanks again!
Bob
On 7 Oct, 10:16, Wizzud [EMAIL PROTECTED] wrote:
NB . to add/change an id:
Hi guys,
I'm having problems with .Net postbacks and jQuery. When I first come
to the web page I'm working on, everything works fine: all elements
that should be present, are. All events are properly attached to their
respective elements. It's all honky dory (pardon the cliche), until I
send
On Oct 8, 8:43 am, Andy Matthews [EMAIL PROTECTED] wrote:
I was just working on a quick little project to utilize some gibberish
text I've had laying around:http://www.commadelimited.com/code/fillertext/
snip
Culprit is append(). You may try $text.text() instead. If you use
Firebug, you
Ashish Agrawal wrote on 10/8/2007 10:26 AM:
First one (with document.ready) don't work (at least for me in FF 2).
But second one works fine as expected.
Can any one tell me how can I simulate body onload using jQuery?
This is how I did it. I never tested anything beyond FF2 and IE7, but it
That didn't do it either. I ended up building a string in the loop, then
dumping that into the textarea usin val(). Thanks for the poke in the right
direction though. Wouldn't have thought that append() would have that
behaviour.
-Original Message-
From: jquery-en@googlegroups.com
Thanks for quick reply, cool its working absolute fine. And many
thanks for having that as plugin.
Ashish Agrawal
On Oct 8, 10:28 pm, Bil Corry [EMAIL PROTECTED] wrote:
Ashish Agrawal wrote on 10/8/2007 10:26 AM:
First one (with document.ready) don't work (at least for me in FF 2).
But
Geez... I goofed.
Towards the bottom of the form, I guess where the Next should be, I
actually get: ...
I am a dummy - sorry.
I made a separate set of files for the temp page, and forgot to put in that
bit of code.
how anticlimactic. please try again
I am looking for a 'tell-a-friend' jquery script to use on a static html
webpage. Does anyone know if there is one available?
If not, am willing to pay for someone to write it for me. Am also looking
for a jquery ajax contact form to use on a static html webpage if anyone
knows of one.
Best
Hi,
You'll need some level of backend integration with both of these forms.
What server-side language are you using?
Rey
marlyred wrote:
I am looking for a 'tell-a-friend' jquery script to use on a static html
webpage. Does anyone know if there is one available?
If not, am willing to
Regards Michael.
On Oct 8, 11:29 am, Michael Price [EMAIL PROTECTED] wrote:
Andy Matthews wrote:
Someone JUST posted a link to their direct jQuery Lightbox conversion.
Which is exactly the one I just found on Google as well :)
I think instead of think before you speak I should invest time
Does anyone have any examples of how I could use a select box to show/
hide different divs on a page. To take it a level further, I would
also like the same behavior to work if images are clicked.
A little background: I'm tring to build a payment options page and
have a list of payment icons
Try removing the colon (:) after the option element, like so:
$('option[value*=\'2\']', $('#category_1')).size()
On Oct 8, 12:11 pm, Giovanni Battista Lenoci [EMAIL PROTECTED]
wrote:
Hi, I'm trying to get the option with a specific value in it.
This is the syntax I use and doesn't works:
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:
My pleasure. :)
Rey...
Pops wrote:
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:
bombaru,
I had just helped another user with almost this same question. I'm lazy, so
check out this short
threadhttp://groups.google.com/group/jquery-en/browse_thread/thread/61f29abca67a866c/075832c811ad0ee3#075832c811ad0ee3
.
He was doing things on a click, but you could do them on the change
You could do something like this:
$(.thumbnail li).click(function(){
var thumbnailHtml = $(this).html();
$(#large li).fadeOut(fast, function(){
$(this).html(thumbnailHtml).fadeIn(slow);
});
return false;
});
On Oct 8, 6:47 am, skinnytiger [EMAIL PROTECTED] wrote:
I'm using the
I'm not sure if the script you have quite makes sense to me. But I've
added where I think it should go.
script type=text/javascript
$(document).ready(function(){
$(.thumbnail li).click(function(){
$(#large li).html($
(this).html()).hide().fadeIn('slow');
Also, I just noticed this code:
$(document).ready(function() {
// (hide the divs on initial view)
$('#option-1').hide();
$('#option-2').hide();
$('#option-3').hide();
$('#option-4').hide();
$('#option-5').hide();
$('#option-6').hide();
$('#option-7').hide();
// (need help figuring out
You could create a common function to figure out which div to open, then
bind it to the appropriate elements:
$(img.changediv).click(showfunc); //bind to images with class changediv
$(#selectid).change(showfunc); // bind to specific select element
var showfunc = function() {
if
A buddy of mine, Raymond Camden, posted an interesting question on his
blog:
How can you timeout a session in an Ajax-based application?
http://www.coldfusionjedi.com/index.cfm/2007/10/8/Ask-a-Jedi-How-can-you-timeout-a-session-in-an-Ajaxbased-application
The gist is that if you have a
Here is one way you could do it, based on the index of the options
and divs:
$(document).ready(function() {
var $optionDivs = $('div[id^=option]').hide();
$('select').change(function() {
var i = $('option', this).index( $(':selected')[0]);
@GUY
I agree should be very usefull but means a major update...or better a
complete rewrite of the plugin to allow panels to work as groups of
elements or singularly.
Right now if you use the plug in against mor element ( es : $
('.slide').siledPanel() and you have more div with slide class)
I am having trouble with this fix myself. http://growthbooks.com - the
superfish drop down menu is not working in ie6 (windows xp sp2) or ie7
(windows xp sp2). I applied the z-index:999 to the .nav element and the drop
down is still not showing. It works fine in firefox/safari etc..
Any clues
If you have a sample page I could take a look at, I can give it a shot.
I have a number of .NET applications that are married with jQuery both for
UI work, as well as Ajax calls, and haven't had any troubles.
But I'd be happy to take a look at yours if you'd like.
JK
-Original
Enrique Meléndez Estrada schrieb:
@Jörn: thanxs, I love jquery. Obviously, i did'nt mean to highlight
what others Do wrong, but what others Don't do at all and I needed for
my Intranet purposes. Anyway, I changed the tone of the page
(http://www.ita.es/jquery/kikegrid.htm) as you can see
Has anyone created a similar app, using jQuery, to the extjs.com Image
Chooser?
http://extjs.com/deploy/ext/docs/index.html - click
Image Chooser Component in the right column
I need to do something similar, but simpler - my page will have a set number
of 'blank' thumbnails.
1) Click any
Hi all. I've the following code:
jQuery('#bid_requests_for_part').tablesorter({
sortColumn: 'Vendor',
sortClassAsc: 'headerSortUp',
sortClassDesc: 'headerSortDown',
headerClass: 'header',
stripingRowClass: [ 'even', 'odd' ],
stripeRowsOnStartup: true
});
The sorting
I started a rather lengthy discussion about this awhile back and never
really found anything to work.
However, I just came across this plugin that seems like it might do
the trick:
http://code.google.com/p/jquery-rotate/
Has anyone else used this plugin? Does it work well for you?
Hi,
PHP, but my pages are static html.
Marlyred
Rey Bango-2 wrote:
Hi,
You'll need some level of backend integration with both of these forms.
What server-side language are you using?
Rey
marlyred wrote:
I am looking for a 'tell-a-friend' jquery script to use on a static
Rey Bango wrote:
The gist is that if you have a dashboard-type app and you need to
determine if your session has timed out on the next Ajax request, how
would you go about doing it. He mentioned creating a ping-like service
that would poll the server every so often. It seems that this would
I just wanted to share, I had this problem :
in FF it would select the last option
in IE, the first.
With a dynamic loaded Menu, you need to put
the .attr(selected,selected) in a function after the load is
successful:
$(#user_list).load(getUserList.php,function(){
$(#user_list
Hi.
My example file: http://travishannon.com/test.php
In the above file, using the public release of jEditable and jquery
1.2.1 (also tried with earlier versions), I've created what should be
a an edit-in-place select box. However, when I click on it, the text
just disappears.
I've tried it
On Monday, October 08, 2007 3:19 PM marlyred said:
Hi,
PHP, but my pages are static html.
Marlyred
You may have already received an email about this offlist but javascript
(jQuery is javascript) cannot send emails. What it will need to do is
submit the form's data to a server side script
Rey and I were kicking this around in IM and I came up with a little plugin
to do this.
The idea is that you want to alert the user a short while before the server
session times out. If you know how long the session timeout is, you can use
code like this:
(function( $ ) {
$.expire =
I'm just crawling back into the programming world after a long hiatus,
and noticed a new generate HTML docs button in Aptana. If you
follow the scriptDoc standards, it generates a pretty decent output
with one click. Their code assist functionality pulls from these
scriptDoc blocks as well
Hi,
I understand what you are saying but unfortunateIy I do not know enough
about using forms, sending data to php, ajax etc to accomplish this.
I recently implemented the following on another site i was working on..
http://www.roscripts.com/AJAX_contact_form-144.html
This example however
Hi,
I would like to call crossite script.
So I use the script tag technique (create script tag, assign src and append
to head) to do so.
But unlike xmlhttprequest, I cannot get any response status from it.
So I just wonder if there is anyway I can detect if the remote script is not
available?
I
Hi Wessa,
I have checked your link and the menu is actually working in both IE6
and IE7. May I suggest you attempt to reload the page in a way that
avoids the cache? Holding Alt down when clicking the refresh button
seems to ignore the cache successfully on my PC.
I notice however, that you
Hi, all.
I'm trying to run Jorn's validation plug-in ( 1.0, beta 1 ) with
jQuery 1.2.1.
They work together in Firefox, but not in IE 7. However,
I can get them to work in IE 7 if I use jQuery 1.1.1.
Any issues going on with jQuery 1.2.1 and Jorn's validation plug-in?
Rick
On 10/9/07, marlyred [EMAIL PROTECTED] wrote:
I recently implemented the following on another site i was working on..
http://www.roscripts.com/AJAX_contact_form-144.html
This example however uses the mootools loibrary, but as I am using jquery
for some other stuff on my current site I was
Hi Rick -
I had a similar issue with jQuery 1.2 and IE... until I read down towards the
bottom of Joern's discussion page for the plugin , and saw a link to a new
version posted just a few weeks ago... works great now! Let me know if you
don't find it.
--
--
Michael Evangelista, Evangelista
Karl, I was thinking that the ids seemed unnecessary too, but then I thought
that maybe he'd want to show only a subset of the items rather than all or
nothing.
Chris
On 10/8/07, Karl Swedberg [EMAIL PROTECTED] wrote:
Here is one way you could do it, based on the index of the options and
Hi, Michael.
I did find a new version ( 1.1, Jun 21, 2007 ), but it's still not working
in IE 7
with jQuery 1.2.1. It works in FF2.
It still works with jQuery 1.1.1.
Perhaps that's not the latest version?
Rick
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
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 = {
From: Pops
var how = (settings.show!=)?settings.show:show;
eval($box.+how+());
foo.bar means the same thing as foo['bar'], so this code is the same as:
var how = (settings.show!=)?settings.show:show;
$box[how]();
Or a very clean and simple version:
$box[ settings.show ||
99 matches
Mail list logo