With jQuery is very simple make new event plugins. This is a sample
plugin that I made
for my organisation: (sorry comments in spanish :$)
/**
* @fileoverview
* Crea nuevos eventos para la pulsación de las teclas:
* INTRO, DELETE, ARROWS, PAGINA arriba y abajo
*
* @author ATICA
* @version 0.1
hi,
does jquery offer some kind of javascript templates plugin?
wat do (if they do) ppl use?
since i have a box structure on my page where more or less every box is
similar in markup, i would want to create a template of that with javascript
vars for unknown content that i later fetch through
Hello Alexandre,
is it possible to add the 'choose multiple files at once' functionality in the
browse dialog as it's in swfupload ?
Wednesday, June 6, 2007, 11:23:16 AM, you wrote:
Hello Will, i invite you to check out jqUploader see if it does what you
want.
Rob Desbois wrote:
I disagree; in the interest of keeping the plugin small, to do this
outside the class is equally minimal effort and I don't think the plugin
should accept every possible representation. If you always use Date
where String is required, you can overload and wrap the function
Hi all,
I have a problem when using a TinyMCE replaced textarea as a field that
needs validating - validate() requires me to press submit twice before
the field is recognised as filled - I presume because the actual
underlying textarea is empty until TinyMCE copies content back into it
on submit.
Hello fullgarbage, i will look into that.
version 1.0 beta will be released later today. It does not feature yet
multiple file uploads, but it brings a lot of improvements, including
maximum file size and error message customization.
_
From: jquery-en@googlegroups.com [mailto:[EMAIL
:-( Same result... if I inspect the name property using
jquery(newdivetc) is updated howere the html is not updated
On 6 jun, 15:19, Sam Collett [EMAIL PROTECTED] wrote:
On Jun 6, 8:50 am,oscaresp[EMAIL PROTECTED] wrote:
Thnaks... I have tryed:
Have you tried $.noConflict()?
See: http://docs.jquery.com/Using_jQuery_with_Other_Libraries
On Jun 6, 11:33 pm, Angelo Zanetti [EMAIL PROTECTED] wrote:
Hi Michael.
Its very difficult for me to give you a link because you have to
unfortunately login to the system. Maybe I can expain clearly
Someone posted a very useful template plugin a few days ago...
*digs it out*
here you are:
http://groups.google.com/group/jquery-en/browse_frm/thread/bde06a2e99f31efe/8e63b6928948c4c2?hl=en#8e63b6928948c4c2
Hi,
I made a simple port of Ext.Template [1] / Ext.MasterTemplate [2] to
be used with
I don't believe there's any jQuery-based JavaScript templates engine/plug-in.
There are two plug-ins that I know of that help with the insertion of
code and content provided by the server side:
Taconite
http://www.malsup.com/jquery/taconite/
jXs
Has anyone found a way around this? Do I have to validate() the
TinyMCE input iframe(?) rather than the text box?
Could you post an example page?
--
Jörn Zaefferer
http://bassistance.de
I don't use TinyMCE but I have a similar problem with FCKEditor and
Codepress (both JS based rich-text editors).
Usually, these RT editors update the contents of the field/textarea
element just before the form is submitted, which probably happens
after your validation.
I work around it by
Diego A. wrote:
I don't use TinyMCE but I have a similar problem with FCKEditor and
Codepress (both JS based rich-text editors).
Usually, these RT editors update the contents of the field/textarea
element just before the form is submitted, which probably happens
after your validation.
I work
Hi,
I've added a new patch to the ticket based on Volker's patch. Can you please
confirm that it does indeed fix the problem?http://dev.jquery.com/ticket/1143
No it doesn't work as it doesn't travers all node recursively. I've
written a new patch, please take a look at
Hi All,
I've googled and googled to no avail, this question has too many
instances of words like not in it and I'm struggling to find
anything useful.
I'm doing something quite complex but the crux of the question is
this, with a structure like so:
div id=document
ul class=menu
On 6/5/07, adept [EMAIL PROTECTED] wrote:
Is it possible to implement a horizontal sort rather than vertical?
I'm
wanting to use it to add elements from a vertical list to a horizontal
list
in order to build a customizable toolbar. Is it just a css thing and
Sortable already supports that?
It is true that jQuery can already handle custom events quite well. This is
more for normalizing existing events and enabling the usage of the bind
syntax.
--
Brandon Aaron
On 6/7/07, SeViR [EMAIL PROTECTED] wrote:
With jQuery is very simple make new event plugins. This is a sample
plugin
In simple terms, you need to move the content from the TinyMCE
control to the textarea for validation.
$('button.save').click(function(){
if (tinyMCE) tinyMCE.triggerSave();
});
http://wiki.moxiecode.com/index.php/TinyMCE:Functions#tinyMCE.triggerSave
On Jun 7, 7:36 am, Jörn
James, I think you're looking for filter:
$(#document a).filter(.menu a).dostuff();
I have tried:
$(#document a).not(.menu a).dostuff();
$(#document *:not(.menu) a).dostuff();
$(#document a:not(.menu a)).dostuff();
I am at a loss. No doubt there is a really simple way of saying
select all
1. The first form - $(#document a).not(.menu a).dostuff() - should
work. I think that this is a bug that it doesn't, and should be reported
as such.
2. This does work:
$(#document a).not( $(.menu a) ).dostuff();
Instead of removing the elements by expression, you're doing a second
selection,
That was exactly what I was looking for, thanks Buchs. In my case it was the
below, just before I call validate();
$('#admin-jobs .submit').click(function(){
if (tinyMCE){ tinyMCE.triggerSave(); }
});
I don't know if this could be integrated in to validate() itself, so that other
I'm in the middle of creating a bidding system with the help of
jQuery. I'd like the actual bid process to be all Ajax. I have one
input field for the price and a submit button to send it. Problem is I
don't know how to send the users value from the input field to the php
file.
I'm trying to get
It looks like you're not actually using a form element so you need to
handle the data manually. Try adding a data property like this:
$(#placebid).click(function() {
$.ajax ({
type: POST,
data: { mybid: $('#mybid').val() },
url:
Angelo Zanetti wrote:
Its very difficult for me to give you a link because you have to
unfortunately login to the system. Maybe I can expain clearly what the
script does. [ ... ]
This is unlikely to be enough information to allow the community to
help. It's difficult to help without a live
Hi Diego
Yes I have tried that call and have looked at that page but it still
doesnt help me. I have tried all three different ways that they suggest
in that page.
Please if u think its anything else. or perhaps im doing something wrong
with the namespace.
thanks
Angelo
Diego A. wrote:
Dear Michael
thanks for the reply again. I have uploaded the page here:
http://www.zlogic.co.za/jQuery/jQueryProblemIE.htm
The grid you see is whats meant to load, I am using a new version of
JQuery. Will try your suggestion but I think the jQuery kills all the js
functions in the file...
Hi Scott.
I agree and understand that you need something to look at, I have save
the page source and uploaded it here:
http://www.zlogic.co.za/jQuery/jQueryProblemIE.htm
If you have any suggestions based on viewing the code/source I'd be very
grateful.
Thanks
kind regards
Angelo
Scott
Angelo,
thanks for the reply again. I have uploaded the page here:
http://www.zlogic.co.za/jQuery/jQueryProblemIE.htm
The grid you see is whats meant to load, I am using a new version of
JQuery. Will try your suggestion but I think the jQuery kills all the js
functions in the file...
But if
1. The first form - $(#document a).not(.menu a).dostuff() - should
work. I think that this is a bug that it doesn't, and should be
reported
as such.
I don't think it's a bug, and I'm not surprised this selector doesn't
work.. This is first selecting all a elements that are descendants
---
I don't think it's a bug, and I'm not surprised this selector doesn't work..
This is first selecting all a elements that are descendants of #document.
Then, from that set of matching a elements, it's trying to remove all that
have a class of menu and a descendant a. So, it should select all
Angelo Zanetti wrote:
I agree and understand that you need something to look at, I have save
the page source and uploaded it here:
http://www.zlogic.co.za/jQuery/jQueryProblemIE.htm
I get the same behavior in IE and FF. One issue is that you're pointing
to JQuery on a local domain:
Thanks, that worked. One last question...
how do I grab a hidden input value?
(#placebid).click(function() {
$.ajax ({
type: POST,
data: {
mybid: $('#mybid').val()
listingid: $('#listingid').val()
Yes, you grab the hidden input the same way. Just don't forget your
comma between the two in the data object.
Mike
Thanks, that worked. One last question...
how do I grab a hidden input value?
(#placebid).click(function() {
$.ajax ({
type: POST,
data:
Dear all.
I have solved it and its thanks to Michael, I know that the HTML is not
clean and perfect thats another story but the thing that fixed it is:
$(loadTree);
thanks again hope this will help other ppl with the same problem.
Thanks
Angelo
Michael Geary wrote:
Roger on the login
I have a 3 links on a page index.htm. Links are 'A', 'B' and 'C'. I
have a div to display contents.
I have 3 more pages a.htm, b.htm and c.htm.
What I'm trying to do is :
When i click A link a.htm content of a.htm will appear in div.
When i click B link b.htm content of b.htm will appear in div.
Thanks Mike, I appreciate the help.
Ken
On Jun 7, 10:55 am, Mike Alsup [EMAIL PROTECTED] wrote:
Yes, you grab the hidden input the same way. Just don't forget your
comma between the two in the data object.
Mike
Thanks, that worked. One last question...
how do I grab a hidden input
On 6/6/07, Gordon [EMAIL PROTECTED] wrote:
I am writing some code using jQuery and the Interface plugin to allow
sorting of a list by drag and drop.
...
The result is the dragged element is always moved to before the
element it is dropped on.
What I need is for the element to appear either
Hi,
Say I've got this list:
ul id=sortable
li id=element1stuff/li
li id=element2stuff/li
li id=element3stuff/li
/ul
Using Interface sortables I want to get a comma separated list of list
item IDs after I've done some dragging. Say I've been doing some
dragging
jQuery has the easiest way to do what you need, first add this to the
header:
!-- Lets add the jquery script first--
script language='JavaScript' src='jquery.js'/script
!-- And create the function to do this (assuming your div is like
div id=content):--
script type='text/javascript'
Cool, looks like you have it working.
Well, here's a couple notes in conclusion.
My original problem was this: when embedding a QuickTime object in IE,
if you remove the DOM object that contains the QuickTime, then try to
make the exact same DOM object with a new QuickTime, the QuickTime
(I just noticed that Karl Rudd also gave a link to this, so here's my 2c)...
It's not jquery-based, but I've used it for some beefy financial
reporting templates and it performed really well and provided a lot of
flexibility:
http://code.google.com/p/trimpath/wiki/JavaScriptTemplates
Michael Price wrote:
Hi,
Say I've got this list:
ul id=sortable
li id=element1stuff/li
li id=element2stuff/li
li id=element3stuff/li
/ul
Using Interface sortables I want to get a comma separated list of list
item IDs after I've done some dragging. Say I've been doing some
How do I get the radio and checkbox values? Everytime I check or
uncheck the boxes, that value is always true. Is there some trick I'm
missing to get the correct values based on if the user ticked the box
or not? Thanks, sorry if this has been asked before... I couldn't find
any answers via the
Aaron,
I'm glad you found a workaround that you can live with. I'll grant
you that the QT ActiveX control is somewhat less than robust, but I
was never able to duplicate your problem. The annoying thing that
I've run into is that when you remove the QT object from the DOM in IE
the actual
Kenny, it sounds like you want the input's checked state, not the value.
var isChecked = $('#myInput')[0].checked;
Mike
On 6/7/07, Ken Iovino [EMAIL PROTECTED] wrote:
How do I get the radio and checkbox values? Everytime I check or
uncheck the boxes, that value is always true. Is there some
Luc Pestille wrote:
That was exactly what I was looking for, thanks Buchs. In my case it was the
below, just before I call validate();
$('#admin-jobs .submit').click(function(){
if (tinyMCE){ tinyMCE.triggerSave(); }
});
I don't know if this could be integrated in to validate()
alternate encoding done cleanly...
http://jqueryjs.googlecode.com/svn/branches/jake-dev/src/ajax/ajax.js
a small patch allows escape (or other) instead of encodeURIComponent
while localizing all calls to encodeURIComponent
this patch seems to make the packed size of jQuery even smaller.
$.pair
I am trying to find all of the required input and select boxes that have not
chosen a value. Default is
The first line fills the array with empty inputs and ALL selects
inputArrayEmpty = $(tr.required [EMAIL PROTECTED]''],tr.required select);
The second line it trying to eliminate from
I am trying to select the first td element two levels up from the clicked
div element.
I have this, which works, but it's ugly.
$(this).parents(td:first).parents(td:first).attr(class,greenback);
Is there a cleaner way?
- Josh
You could just do
$(this).parent().parent().addClass(greenback);
That should work fine.
On 6/7/07, Josh Nathanson [EMAIL PROTECTED] wrote:
I am trying to select the first td element two levels up from the clicked
div element.
I have this, which works, but it's ugly.
Matt, you're assuming this is simple! if this is centerbiHa
Ha/i/b/center yours breaks
Josh, tables are ugly, accessing them is ugly too! If you have one or two
lines like that it's ok to be ugly.
$.fn.grandTD = function(){return this.parents(td:first).parents(td:first)}
might make get a
oops Matt. if this is the i in centerbiHa Ha/i/b/center
yours breaks
On Jun 6, 3:53 pm, Karl Swedberg wrote:
or, you could try this...
$.getScript( url, callback )
http://docs.jquery.com/Ajax#.24.getScript.28_url.2C_callback_.29
Thanks. I totally missed getScript on my first look at the API.
This is a little difficult to describe but here goes. I have a tab based
widget that has parent tabs across the top and related children tabs on the
side. There is a display area that is updated via ajax depending on the
tabs chosen. Some of the children tabs load forms. I'm using Drupal to
You're right...it doesn't work with just the parent() and no specific element
selector. I need the td's in there.
I would like to use divs to make the layout simpler, but I just couldn't get it
looking the way I want in IE6.
Oh well, ugly it is!
- Original Message -
From: Ⓙⓐⓚⓔ
did you try .parents(td:eq(1))
On 6/7/07, Josh Nathanson [EMAIL PROTECTED] wrote:
You're right...it doesn't work with just the parent() and no specific
element selector. I need the td's in there.
I would like to use divs to make the layout simpler, but I just couldn't
get it looking the way
I ended up with this:
var inputArrayEmpty = $(tr.required [EMAIL PROTECTED]'']);
inputArrayEmpty = inputArrayEmpty.add($(select
option:[EMAIL PROTECTED]'']).parent(select));
It seems to work.
Glen
On 6/7/07, Glen Lipka [EMAIL PROTECTED] wrote:
I am trying to find all of the
Hi Folks,
Just noticed this site using jquery:
http://www.bonnaroo.com/
with thickbox and swfobject.
On May 3, 3:43 pm, Rey Bango [EMAIL PROTECTED] wrote:
Just a quick reminder to everyone that the list ofsitesusingjQuery
continues to grow at an amazing rate. Check out thesitesat:
Oh my, that's a nasty slideshow impl. Ajax gone mad!
http://www.bonnaroo.com/
Hallo,
is it possible to add a callback to thickbox? I'm loading a form via
ajax and I want to handle this form with ajax again. But I cannot find
a possibility to register a callback function to use the form plugin.
There should be a way like
a href=ajaxPage.php?
Figured out the answer ... the load function being used by the
children tabs can have a callback assigned when the data is loaded.
Apologies for the intrusion as I relearn my js skills in relation to
jQuery.
On Jun 7, 12:13 pm, Cyberswat [EMAIL PROTECTED] wrote:
This is a little difficult to
did you try .parents(td:eq(1))
That works. Thanks! Much prettier.
-- Josh
- Original Message -
From: Ⓙⓐⓚⓔ
To: jquery-en@googlegroups.com
Sent: Thursday, June 07, 2007 11:39 AM
Subject: [jQuery] Re: select td 2 levels up
did you try .parents(td:eq(1))
On 6/7/07,
Here's another to add:
http://www.mothersclick.com -- one of the largest sites online for
moms :-)
I was just thinking, it might help if the docs were clarified a bit as
regards the parents() method. It could say something like returns
all matched ancestor elements in the order from innermost to
outermost or something along those lines.
Example:
div id=1
div id=2
div id=3hello!/div
/div
/div
I like this patch. Jörn? Brandon? John? Anyone?
alternate encoding done cleanly...
http://jqueryjs.googlecode.com/svn/branches/jake-dev/src/ajax/ajax.js
a small patch allows escape (or other) instead of encodeURIComponent
while localizing all calls to encodeURIComponent
this patch seems
Hello
Apologies if I've missed something simple but I can't seem to find
simple documentation for dimensions.js other than that inside the
actual file. I need a bit more than that.
Am I missing something or is this plugin lacking a bit of
documentation (no doubt due to over-worked,
On 08/06/2007, at 7:25 AM, m3avrck wrote:
Here's another to add:
http://www.mothersclick.com -- one of the largest sites online for
moms :-)
Mamma-mia, what an achingly beautiful site! Anyone know who designed
and developed it?
Joel.
Hello jqMates,
I'm pleased to inform this great assemblee that jqUploader, a flash-based
upload widget allowing progress display of upload in a non obtrusive manner,
has just been updated to version 1
New features:
- maximum file size implemented (using the good old html input
Nice job, Alexandre. It looks great!
Mike
New features:
- maximum file size implemented (using the good old html input
name=max_file_size if available)
-ergonomy improved
- custom messages
- many small things, like giving an alert() if it doesn't find swfobject.js
It is true that the only documentation is within the file and that it needs
more. I hope to write some better documentation soon.
--
Brandon Aaron
On 6/7/07, pd [EMAIL PROTECTED] wrote:
Hello
Apologies if I've missed something simple but I can't seem to find
simple documentation for
I don't know who created the site, but it is *very* nice-looking and
well laid out.
I also noticed (and perhaps this is jQuery at work) how the Latest
Questions and Answers
and Latest Groups continue to display a new item at the top of each list
while the others
move down... very slick.
Rick
Looks like Ted Serbinski is part of the team behind it.
http://tedserbinski.com/
--
Brandon Aaron
On 6/7/07, Joel Birch [EMAIL PROTECTED] wrote:
On 08/06/2007, at 7:25 AM, m3avrck wrote:
Here's another to add:
http://www.mothersclick.com -- one of the largest sites online for
moms :-)
New Logitech website is using jQuery too
http://www.logitech.com
2007/6/8, Rick Faircloth [EMAIL PROTECTED]:
I don't know who created the site, but it is *very* nice-looking and
well laid out.
I also noticed (and perhaps this is jQuery at work) how the Latest
Questions and Answers
and Latest
73 matches
Mail list logo