Messed some more with it, it really does seem like JQuery show has a
small delay before it sets display to blank.
On 14 Dec., 17:28, JacobDK jacob.ak...@gmail.com wrote:
Hey all
Im pretty new to JQuery, but got some things working, but now I came
across somthing I cant get to work, even after
If you want it to depend from the content you can combine 'filter' and
'contains' like so;
$(li).filter(:contains('02'),:contains('03'),:contains
('06'),:contains('07')).css('background-color','green');
Or if its the position iterate over the ul's and the 'eq' looks up the
position for each ul.
If you want it to depend from the content you can combine 'filter' and
'contains' like so;
$(li).filter(:contains('02'),:contains('03'),:contains
('06'),:contains('07')).addClass('color');
Or if its the position iterate over the ul's and the 'eq' looks up the
position for each ul.
SlickGrid keeps growing!
SlickGrid now has a Google Group where you can get help, provide
feedback and ideas for improvement, and ask questions:
http://groups.google.com/group/slickgrid
NEW FEATURES:
- Row reorder support.
Column definitions can now be marked with behavior:move property
to
Every input element is wrapped in a div with class 'rowElem'?
So your errorPlacement should be something like this:
errorPlacement: function(error, element) {
$(element).closest('.rowElem').after(error); //the method closest
get the closest parent with class rowElem
},
On Mon, Dec 14,
If you want it to depend from the content you can combine 'filter' and
'contains' like so;
$(li).filter(:contains('02'),:contains('03'),:contains
('06'),:contains('07')).addClass('color');
Or if its the position, iterate over the ul's and the 'eq' looks up
the
position for each li.
No one?
On Dec 10, 8:37 pm, eid php...@gmail.com wrote:
Hello.
I am coding some HTML 5 drag and drop support where the user can drag
images from a library to a textarea, and the necessary HTML to include
the image will then be added. The addition of the html is done through
a function that
Hello everyone,
I have a text field (textarea) that is required only if a specific
radio button in the group is checked.
Here's the explanation: a blog entry may be a personal entry, a
publication and a news post. If it's a news post or a
publication, then the
announce is required.
How can I
Hi MorningZ,
thanks for your thoughts. I didn't even think of that since it has
been a couple of weeks ago I built this. Only IE needed to be fixed.
I finally was able to get it fixed by putting alerts in to see where
it stopped. Apparently IE has trouble with a chained ajax call. I cut
the chain
Hi MorningZ,
see my reply at the other thread. I am sorry for double posting. I
think I kinda got stressed ;-)
Henjo
On Dec 15, 12:16 am, MorningZ morni...@gmail.com wrote:
Since you have two topics going on the same exact topic, i'll repeat
what i suggested in topic # 2:
Stop using the
Hi Scott,
thanks again for your thoughts.
I managed to put alerts in and find where it broke in IE. IE can't
seem to handle a chained ajax request. I broke the chain in part and
than it worked fine.
I fiddled around with your code for a while but couldn't get that to
work. It sure seems a better
I solved this by making a gut call and loaded up the JQuery 1.4a Alpha
release, it seems to have solve a myriad of IE Issues.
_
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Karl Swedberg
Sent: Monday, December 14, 2009 7:56 PM
To:
I'm sorry nobody has responded to you yet. I'm not terribly familiar
with HTML5 drag and drop, but this article made me a little wary
(warning to gentle souls: lots o' cussing in there):
The HTML5 drag and drop disaster
http://www.quirksmode.org/blog/archives/2009/09/the_html5_drag.html
You
Something like this:
input type=radio name=blog-entry value=personal-entry/
input type=radio name=blog-entry value=publication/
input type=radio name=blog-entry value=post/
textarea name=announce/textarea
$(form).validate({
rules:{
announce: {
required: function(element)
I'm looking plug-in that allows to put checkboxes into combobox
element.
Hi All, I'm new member in this mailing list.
I have problem with jquery,
I have code like this
!DOCTYPE HTML
html lang=enhead
meta http-equiv=content-type content=text/html; charset=UTF-8
titlejQuery UI Droppable - Revert draggable position/title
link type=text/css
I am also interested in this! Unfortunately, I haven't been able to
find a solution. Anyone out there know how to modify Superfish so that
the submenu will slide back up on mouseout?
On Dec 3, 7:23 pm, Dasher sea...@gocreate.com.au wrote:
Hello,
I have just discovered superfish - it is awesome
In FF3.5 everything works fine as it is described in API reference. I
mean offset() and height() results.
But for the same elements of same page in IE7 or IE8 (compatibility
mode) offset() returns 0 or negative values (though it's impossible
according to introspection of developer tools in IE8).
Hi All,
Is JQuery back compatible ?
I'm trying to understand if it is better to use
SCRIPT SRC=jquery-1.3.2.js/SCRIPT
or
SCRIPT SRC=jquery.js/SCRIPT
if JQuery is backcompatible I would use jquery.js... htat would make a
JQuery update simpler... otherwise I would use jquery-1.3.2.js and
hello guys, I use django template to generate a HTML like this:
{% for type in types %}
tr id=list_{{type.id}} class=itemrow
td width=70 align=middle class=list_typename
{{type.name}}/td
/tr
{% endfor %}
typeid increases from 1 by 1.
I use class
Hi, I found a bug within the validation plugin
I have a form and I need to click the submit button twice to submit
the form.
It seems that on the first click validates and only on the second
click will submit the form.
I think it must submit the form directly if there is no validation
error.
A
On Dec 15, 8:37 am, Henjo henjohoek...@gmail.com wrote:
I managed to put alerts in and find where it broke in IE. IE can't
seem to handle a chained ajax request. I broke the chain in part and
than it worked fine.
Great!
Could you post in a bit more detail what you had to change to get it
to
Well, as much as it would be perfect if no matter what, new versions
of the core won't break existing code, it's really un-realistic...
for instance, when 1.3 came out... breaking changes were introduced:
http://www.learningjquery.com/2009/03/3-quick-steps-for-a-painless-upgrade-to-jquery-13
I got this before if an element wasn't loaded - are you working with an
image, by any chance ?
L
Rinat Gareev wrote:
In FF3.5 everything works fine as it is described in API reference. I
mean offset() and height() results.
But for the same elements of same page in IE7 or IE8 (compatibility
Leonardo, today you're my man!
It finally worked!
THAT was what I was looking for.
I can't tell you how long I've been trying to achieve just that result, so
you can't imagine how much I appreciate your help. Really, thanks!
I actaully had found a workaround to place the error mesage with
Oh, for posterity, in case anybody else find this useful, here is the
complete code that worked fine for me.
$(document).ready(function(){
$('#actionform').validate({
errorPlacement: function(error, element) {
Hi all,
Got a question for you guys who're more knowledgeable than I am. I
followed Mike Alsup's plugin development pattern at
http://www.learningjquery.com/2007/10/a-plugin-development-pattern to
create a plugin for a project I'm working on. It's a suggestion/
tooltip plugin, which although
are you sure that the tr IDs are being rendered in the right order?
View source to double check. If they are correct in the html, could
you point us to a test page where you're experiencing the problem?
thanks,
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
Hi,
I have a portion of code like:
div class=hentry
pimg width=160 height=120 alt=0 src=/
img_2009/51/0.jpg/
Text fo the article excerpt
br/
span id=more-0/
text of the article after the excerpt, and so on, and so on, and
so on, and so on,
a target=_blank
here is my problem:
$(#btnTraffic).click(function(){
$(#trafficLight).css(background-color,yellow);
});
btnTraffic is my button, when I click it, it changes from red to
yellow because of the css.
I want to click it multiple times and have it rotate between red,
yellow and green.
so it
I download your code and it's working fine.
On Tue, Dec 15, 2009 at 08:48, Givan giv...@gmail.com wrote:
Hi, I found a bug within the validation plugin
I have a form and I need to click the submit button twice to submit
the form.
It seems that on the first click validates and only on the
There could be many ways to do that. If only you put in a little thought to
it :).
This is one of the ways, I am sure this is not the best way, but it surely
should meet your demands.
$(#btnTraffic).click(function(){
var tr_id = #trafficLight;
if (
Try something like..
$(#btnTraffic).click(function(){
if ($(#trafficLight).css(background-color) == 'green') {
$(#trafficLight).css(background-color, yellow);
} else if ($(#trafficLight).css(background-color) ==
'yellow') {
$(#trafficLight).css(background-color,
yeah, you are right, it appears as though i may have over thought it.
thanks for the response!
It worked perfectly btw.
thanks again.
Glen
On Dec 15, 11:05 am, Dhruva Sagar dhruva.sa...@gmail.com wrote:
There could be many ways to do that. If only you put in a little thought to
it :).
This
Hi,
I'm using JQuery 1.3. How do I write an expression to select all
elements whose id's begin with DatePref? These are all input
type=text elements if that matters.
Thanks, - Dave
No problem, happens with all of us :)
Thanks Regards,
Dhruva Sagar.
On Tue, Dec 15, 2009 at 9:39 PM, Glen_H glen.f.he...@gmail.com wrote:
yeah, you are right, it appears as though i may have over thought it.
thanks for the response!
It worked perfectly btw.
thanks again.
Glen
On
If you want to remove the strong tags you can use this plugin;
http://benalman.com/projects/jquery-unwrap-plugin/
Or try these two lines of code;
temp = $(.hentry).find(.excerpt).html() ;
$(.hentry).find(.excerpt).before(temp).remove();
It fills the temp with the content of your strong tag and
$('input[id^=DatePref]')
On Tue, Dec 15, 2009 at 8:10 AM, laredotorn...@zipmail.com
laredotorn...@zipmail.com wrote:
Hi,
I'm using JQuery 1.3. How do I write an expression to select all
elements whose id's begin with DatePref? These are all input
type=text elements if that matters.
Here ya go!
$(input[id^='DatePref']).val('hello!');
On Dec 15, 5:10 pm, laredotorn...@zipmail.com
laredotorn...@zipmail.com wrote:
Hi,
I'm using JQuery 1.3. How do I write an expression to select all
elements whose id's begin with DatePref? These are all input
type=text elements if that
Hi Virgil,
thanks a lot for your help.
But I explained the issue not so well. I need to obtain the strong
code, not to remove it. First code is the situation (without the
strong tag) and I need to obtain the second code (with strong).
Practically, I need to highlight the excerpt of the code,
Sorry, I didn't give you enough details.
The validation of the form elements are are made on onblur event, if
you don't click outside the last textarea then that field will not be
validated.
When you click on the submit form when editing the last textarea the
onblur event is triggered but the
Unsubscribe
-Mensaje original-
De: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] En nombre
de T.J. Simmons
Enviado el: martes, 15 de diciembre de 2009 12:02
Para: jQuery (English)
Asunto: [jQuery] Plugin Questions
Hi all,
Got a question for you guys who're more
Hi,
Im new to Jquery and have been trying to dynamically create a new div
element with document.createElement.
I can successfully insert this element into the dom but I want to
animate it on creation. After inserting the element into the DOM i try
and access it using a JQuery selector but it
Well that's certainly one thought. :)
Luis, to unsubscribe to go http://groups.google.com/group/jquery-en,
Edit my Membership and remove yourself there.
On Dec 15, 9:38 am, Luis Arcos G. luis.ar...@gmail.com wrote:
Unsubscribe
-Mensaje original-
De: jquery-en@googlegroups.com
Hi,
Since I moved to a new design I cannot figure out how to stop the
validate plug-in to append error messages and instead have it remove
the previous error message before creating another one.
here is what my HTML code looks like with multiple error messages:
p
label for=email
E-mail
/label
thanks Virgil,
Is there a way to create the same effect without specifying the ( eq:
(' ') exact location) or (the content that inside) the list item?
because I might be using up hundreds of ul/ul unordered lists,
each with a variable number of li/li tags?
original code:
ul
lijhbshsbjhs/li
On Dec 15, 12:53 pm, huntspointer2009 huntspoin...@gmail.com wrote:
thanks Virgil,
Is there a way to create the same effect without specifying the ( eq:
(' ') exact location) or (the content that inside) the list item?
because I might be using up hundreds of ul/ul unordered lists,
each with a
I need to be able to clean the text of the ckeditor as the user types
does anyone know what I need to do to achieve that ? I mean i already
have the cleaning code I just need to be able to call it from the
ckeditor
Mean Mike
On Mon, Dec 14, 2009 at 11:08 PM, water [bro] mm waterb...@gmail.com wrote:
and if click remove, jquery just remove a link remove not tag p
please help me.
That is because the this inside your click handler function refers
to the link (because the handler is onclick for the link) even though,
I was told this was the place to get support for the Superfish module.
Can anybody help me with the problem below?
Thanks.
On Dec 14, 6:42 pm, slflinders slflind...@gmail.com wrote:
Hi.
I just installed Superfish Dropdown Menu for Joomla 1.5 today from
extensions.joomla.org and have a couple
Thanks Scott,
I actually modified the code you provided for me a little to create
the desired effect:
previous code:
$(ul ).each(function() {
$(this).find(li:nth-child(4n+2), li:nth-child(4n
+3)).addClass(color);
});
modified code:
$('ul').each(function() {
I think I figured it out myself. I've moved the $(document).click and
the declaration of $details to BEFORE the plugin definition, and the $
(.suggestion) methods to AFTER the end of the closure. I'm not sure
if that falls within best practices, but it certainly works for what I
need right now.
http://pastebin.com/m6cd05daa
I am trying to call a function and pass parameters regarding the
button that called the function. This doesn't seem to do it. What am I
missing?
Hi there!
I'm using jQuery to load in some content from a separate page and I
was wondering if there was a way to make the browser viewport scroll
down to the element I'm adding in by using jQuery or Javascript?
On Dec 15, 2:13 pm, huntspointer2009 huntspoin...@gmail.com wrote:
I actually modified the code you provided for me a little to create
the desired effect:
Yeah, there was a small mistake in that. This would probably work:
$(this).find(li:nth-child(4n+2), li:nth-child(4n+3)).addClass
On Dec 15, 2:34 pm, kenyabob andy.skogr...@gmail.com wrote:
http://pastebin.com/m6cd05daa
I am trying to call a function and pass parameters regarding the
button that called the function. This doesn't seem to do it. What am I
missing?
First thing I see is that you're not passing a function
Hello Leonardo and all,
Ok, that's well!
And if I need to bind a click event to the group of radiobuttons, how
can I do that?
If I write something like this:
$(#utype1).click (function (event) {
if ($(this).is(:checked)) $(#showann).hide(); else $(#showann).show();
});
the #showann div will be
Thanks so much. I am still getting used to some of this stuff, and
you're explanation makes sense, and your solution works as well, so
thanks!
On Dec 15, 12:41 pm, Scott Sauyet scott.sau...@gmail.com wrote:
On Dec 15, 2:34 pm, kenyabob andy.skogr...@gmail.com wrote:
Hi,
I'm using JQuery 1.3. I have a button and I want to completely clear
it of any onclick events associated with it so that clicking it will
do absolutely nothing. If I know the ID of the button, how do I do
this?
Thanks, - Dave
Try $(#id).unbind(click);
I've never used it before, but according to
http://docs.jquery.com/Events/unbind#typefn
that oughta do the job pretty nicely.
- T.J.
On Dec 15, 3:38 pm, laredotorn...@zipmail.com
laredotorn...@zipmail.com wrote:
Hi,
I'm using JQuery 1.3. I have a button and I want
I saw this, but that page only tells you how to unbind a specific
function that you know in advance. This code ...
$('.cancelAction').unbind('click', function(){} );
does not work for me as far as being able to cancel all the onclick
actions associated with an element. Any other suggestions
Without any arguments, all bound events are removed. If the type is provided,
all bound events of that type are removed. If the function that was passed to
bind is provided as the second argument, only that specific event handler is
removed.
If you want to unbind EVERYTHING, just use
I need help with this plugin autocomplete.
with results i also show how many , ex:
mexico (5)
los angeles (4)
How can i make the selection without the associated number.
ex: mexico
los angeles
change event does'nt work.
a link would help
have you tried the z-index fix suggested in faq's on superfish site?
slflinders wrote:
I was told this was the place to get support for the Superfish module.
Can anybody help me with the problem below?
Thanks.
On Dec 14, 6:42pm, slflinders slflind...@gmail.com wrote:
There are probably more than one way to do this with jQuery but a
straight JS way would be to do:
document.location = '#id_of_your_element';
On Tue, Dec 15, 2009 at 2:42 PM, Wroathe reallyto...@gmail.com wrote:
Hi there!
I'm using jQuery to load in some content from a separate page and I
was
Try this:
function CreateNewElement()
{
$('div id=div1test content/div')
.appendTo('#contentContainer')
.hide()
.toggle('slow');
}
You'll likely want to change the ID and, obviously, the content. But
the principal i the same--jQuery can
I am trying to call a jQuery loaded javascript function by a
static javascript function on the html page... and I cannot get it to
trigger.
If I tie the jQuery function to $('a').click( loadSomething );
Then it works. But I want to be able to call the function from a resident
script???
html
You have the order of things backward. As the page loads, any bare JS
function calls will be run as soon as they are reached. So, when the
line with callit() is reached, the JS engine will attempt to run the
function immediately. However, the function has yet to be defined.
That's because you have
Hi ! thanks for this menu, its great
I am having trouble finding a way to adjust the sub-menus
eg. when the submenu list gets pretty long, the list will sometime go
off the window size limit in which I would have to scroll downwards to
see the rest of the submenu list.
Is there a way so that the
When locking the column heading or locking a column on a scrollable
table, I generally use code like the two following css parameters but
I cannot figure out how to do this via jQuery. Could someone please
give me a clue?
To lock a column heading:
Hello, what is a good way to run a code snippet after the page is
loaded, but only just one time?
I use the ready event $(function(){...}); most of the time, but
sometimes it fires multiple times (when the DOM changes I think), and
rarely there are stuff that I only want to run JUST ONCE per
hello,
i'm trying to use this Jquery marque (http://www.givainc.com/labs/
marquee_jquery_plugin.htm)..
i've followed all the steps and it works great for me..
but i want it to scroll from left to right because i'm using a (right
to left) language...
i've searched the marquee.js but it look a
Those events window.onload, in jQuery, that would be $(window).load
(...), should *not* be firing at any time other than when the document
loads the first time... something else has to be going on with your
code to fire off that code again
On Dec 15, 3:27 pm, Richard KLINDA rkli...@gmail.com
good point,
thanks
2009/12/16 brian zijn.digi...@gmail.com
On Mon, Dec 14, 2009 at 11:08 PM, water [bro] mm waterb...@gmail.com
wrote:
and if click remove, jquery just remove a link remove not tag p
please help me.
That is because the this inside your click handler function refers
No simple solution. With some work you can setup an auto scrolling div
inside a dropdown. Markup would use one LI and custom styled div
container that you would put your links into and adapt a scroll system
to. There are quite a few auto scrollers, once you get one working in a
stand alone
this can be accomplished with the onBeforeShow option. "This" within
onBeforeShow refers to the UL about to be shown. Using jQuery
$.offset() function to locate the offset of the UL within the menu you
can then use $.css() to make adjustments.
joge wrote:
hello,
I am using the superfish
76 matches
Mail list logo