Hi All,
in my scenario i have use class on an element and attach function with
that class,
Now i am loading dynamic content into div .Problem is i want to bind
again all the events which was use with class.So is there any way to
rebind all the class event of DOM.Otherwise i have to do labour job
Hello James,
thanks for your reply: it works just fine !!!
Have a nice day!
Sig
On May 27, 6:16 pm, James james.gp@gmail.com wrote:
Sure can:
$([id^=drop_]).change(...);
http://docs.jquery.com/Selectors
On May 27, 3:11 pm, macsig sigbac...@gmail.com wrote:
Hello all,
I create
Thanks a lot, that's what I was looking for :)
On May 27, 2:15 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com
wrote:
The default messages are defined in $.validator.messages, and you can
overwrite those. Take a look at the existing localizations,
Hi there
I know it must be simple but I'm just stuck here :,(
I have to ad a line between some rows, but not for the first col.
the table has:
table { border-collapse: collapse }
that is fix and I can not change it.
the following sample code draws the lines nicely in IE6 but in FF there's
That sounds to make sense, I shall try that out.
Thanks chaps. If I'm ever in your area, I'll buy you all a pint.
On 27 May, 18:00, Liam Byrne l...@onsight.ie wrote:
This is definitely the best option, as you can achieve everything that
you might need
The disabled css class can
a) have the
Ok, found the solution
!--[if IE 6]
style
table{ border-collapse: collapse;}
/style
![endif]--
style
table{ border-spacing: 0; }
.top { border-top: 1px solid #000; color:#F0F; }
hi,
I wrote a simple code to test the is and not filters, like this:
Script:
$(#isDiv div).click(function (){
if ($(this).is(:contains('Offenburg'))) {
alert(Offenburg);
}
if ($(this).not(:contains('Offenburg'))) {
within a function for an onchange-handler ($(...).change(function(e)
{...) i tried something like:
$(:parent input[name^=subsequentProperty], this);
this does not work, but:
$(input[name^=subsequentProperty], this.parentNode);
does work.
what am i doing wrong? why doesnt the first example
could you call .unbind() and then re bind them in the callback?
On May 28, 7:12 am, msk khanshak...@gmail.com wrote:
Hi All,
in my scenario i have use class on an element and attach function with
that class,
Now i am loading dynamic content into div .Problem is i want to bind
again all the
empire of serenity meets eve, powered by jQuery?
sounds fun!
On May 28, 10:55 am, Paul Hutson hutsonphu...@googlemail.com wrote:
Hello all,
I've mentioned this from time to time in these discussion threads -
but I'm back to talk a little more about it.
My team and I have been building a
sins of a solar empire meets eve, all powered by jquery?
sounds fun! :)
On May 28, 10:55 am, Paul Hutson hutsonphu...@googlemail.com wrote:
Hello all,
I've mentioned this from time to time in these discussion threads -
but I'm back to talk a little more about it.
My team and I have been
I get this strange jumpy animate behaviour in IE7
And in FF, chrome the animation flickers after completion.
http://87.253.136.51/~gosi/nl
(click trough the slides)
HTML
div class=widget_portfolio
ul
li class=active
div class=titleDuo
I'm having a few problems with jquery and IE compatibility.
I'm new to jquery so still learning!
I'm trying to implement the scrollTo and prettyPhoto plugin on my
website - http://jainamistry.com
Both are working perfectly in Firefox, however neither work in IE.
This is how i'm initializing
Hi,
I have such a piece of html:
li class=addToFriendsa href=Something spanINSIDE
SPAN/spansomething/a/li
To handle AJAX request when clicking on anchor I have registered
handler on click event:
$('.addToFriends a').click(function(event){
var target =
How can i use bind() method for event binding needs to be done after
some changes has been done by some ajax response?
About the jQuery Media Plugin ( http://www.malsup.com/jquery/media/ ),
there is bug in the getSettings function.
Here is the problem codes shown below:
var w = meta.width || parseInt(((cls.match(/w:(\d+)/)||[])[1]||
0));
var h = meta.height || parseInt(((cls.match(/h:(\d+)/)||[])[1]||
Use live() method to bind before the call itself. Since it supports
future binding :-)
Only there can be any problem if the event type is not supported by
live() like focus, mouseover...etc
for this i'm also searching the solution .. i hope my reply is going
to help you :-)
On May 28, 11:12 am,
What about using the live function instead of bind?
http://docs.jquery.com/Events/live
On 28 mei, 08:12, msk khanshak...@gmail.com wrote:
Hi All,
in my scenario i have use class on an element and attach function with
that class,
Now i am loading dynamic content into div .Problem is i want
Look at the .live() method.
On May 27, 11:12 pm, msk khanshak...@gmail.com wrote:
Hi All,
in my scenario i have use class on an element and attach function with
that class,
Now i am loading dynamic content into div .Problem is i want to bind
again all the events which was use with class.So
If you use live instead of bind your future DOM elements also get the
event handlers attached.
http://docs.jquery.com/Events/live
On 28 mei, 08:12, msk khanshak...@gmail.com wrote:
Hi All,
in my scenario i have use class on an element and attach function with
that class,
Now i am loading
Simply question:
I want to have a DIV start by being invisible, then fade in but I am
not sure how to start in such a way that jQuery can make it fade in.
Any help?
Yup - about the size of it - the other cool thing about it is that the
exact same universe is accessible from other devices - so the iPod/
iPhone version has a very similar front end (as seen from the
screenshots at outer-empires.com) but allow interaction in real time
between the two :)
Hi all,
how can I validate a textbox only if another textbox is filled (by the
user)?
input name=txtControl id=txtControl type=text /
input name=txtValue id=txtValue type=text /
I'd like to make required txtValue only if the user write something
in txtControl.
Has anyone ideas?
Thanks in
i am curious though - assuming you've got the CPU utilization down to
something the handsets can cope with, is cheating not a concern
because of the open nature of client-side script?
On May 28, 11:22 am, Paul Hutson hutsonphu...@googlemail.com wrote:
Yup - about the size of it - the other cool
i am curious though - assuming you've got the CPU utilization down to
something the handsets can cope with, is cheating not a concern
because of the open nature of client-side script?
On May 28, 11:22 am, Paul Hutson hutsonphu...@googlemail.com wrote:
Yup - about the size of it - the other
The handsets use their own client versions which connect to the
servers at the backend - however, cheating was a concern at first but
we've implemented a system that passes access keys to the client when
they first log in and use it for future access calls. The key is
associated with the device,
do the processing on the backend, rather than in jQuery. Javascript is
essentially downloaded to the client machine prior to executing.
which language you do it in depends largely on which db you have sat
on the backend.
On May 28, 4:56 am, inkexit createmod...@gmail.com wrote:
This may be a
oh, nice one! i always though re-calling .live bound additional code
to the original event.
learn something new every day :)
On May 28, 7:44 am, Ed Allen ed.all...@gmail.com wrote:
Look at the .live() method.
On May 27, 11:12 pm, msk khanshak...@gmail.com wrote:
Hi All,
in my scenario
.is() and .not() are not complementary. See:
http://docs.jquery.com/Traversing/is#expr
is( expr )Returns: Boolean
Checks the current selection against an expression and returns true, if at
least one element of the selection fits the given expression.
Hi all
I'm using the Tooltip plugin (http://bassistance.de/jquery-plugins/
jquery-plugin-tooltip/) on a test page (http://www.nottingham.ac.uk/
~ntzfr/test/ajax/jquery/jquery_formtest1.html). It works fine as it
stands. I want the user to be able to toggle tooltips on/off, and a
demo on the
Hi All,
I have a form with approximately 20 text inputs in it. I want to pass
the values in these fields to $.get all at once (as though I were
submitting the form normally).
So far I have:
$.get(ajax-account.php, { action: 'amend', ARRAY HERE ? },
function(data) {
//
Does anyone know how or if this its possible to get the response
headers using the jQuery Form Plugin? I've got a success function
which needs to get access to a response header I'm setting.
Thanks
I wanna know how can I automatically change the second input field to
get a end date after I selected the first field and get a start date.
I need keep the second input field' value same change as the first
one. Like the calendar application from booking.com or tripadvisor...
Many thanks
probably this:
http://docs.jquery.com/Ajax/serialize
And the complement to $('foo').is() is !$('foo').is()
Maurício
-Mensagem Original-
De: Richard D. Worth
.is() and .not() are not complementary. See:
http://docs.jquery.com/Traversing/is#expr
is( expr )Returns: Boolean
Checks the current selection against an
In my form I have a couple of text fields into which the user enters
links.
input type=text name=link1 id=link1 /
input type=text name=link2 id=link2 /
input type=text name=link3 id=link3 /
Now I want to create a function that runs after the user has entered a
link. It should automatically add
Does anyone know how or if this its possible to get the response
headers using the jQuery Form Plugin? I've got a success function
which needs to get access to a response header I'm setting.
The XHR is not passed to the 'success' callback, but it is passed to
the 'complete' callback and to
Thanks,
Actually I know that the complement to $('foo').is() is !$('foo').is
(), but I wanted to try the .not
and now it works as expected using this code:
$(#isDiv div).not(:contains('Offenburg'))
.bind(click, function(e){
I wasn't able to find some instructions / examples how to use this
plug-in?!
Is there any body who could help me out?
When i valid the formulary with j-query validate, it increases the width of
my imput.
How can i take out this option? Please help me, its urgent!
thanks.
I have a form with a few required fields using the jquery Validation
plugin to validate the input values before the form is submitted. All
fields except the email field works properly, but if the value of the
email-field isnt a valid email address the error message is displayed
when the user
Perfect. Thanks Mike. Am I right in thinking this isn't in the docs @
http://www.malsup.com/jquery/form/ ?
On May 28, 1:23 pm, Mike Alsup mal...@gmail.com wrote:
Does anyone know how or if this its possible to get the response
headers using the jQuery Form Plugin? I've got a success function
In the quoted example, the block function is passed as the event
handler. In your example, you just reference, but don't call it. Easy
to fix:
$(#block).click(function()
{
$.tooltip.block();
alert
Try this:
$(input[name^=link]).blur(function() {
if (!/^http:\/\//.test(this.value) {
this.value = http://; + this.value;
}
});
Jörn
On Thu, May 28, 2009 at 2:19 PM, P pst...@gmail.com wrote:
In my form I have a couple of text fields into which the user enters
links.
input
heohni wrote:
I wasn't able to find some instructions / examples how to use this
plug-in?!
Is there any body who could help me out?
http://jquery.thewikies.com/sifr/features
You can find the example and documentation in the zip file.
--
Donny Kurnia
http://blog.abifathir.com
You need jqueryUi for this.
http://docs.jquery.com/UI/Effects/ColorAnimations
Try importing this:
script src=http://ui.jquery.com/latest/ui/effects.core.js;/script
and see if your background will animate... ;)
On May 28, 7:20 am, waseem sabjee waseemsab...@gmail.com wrote:
The one problem I
I have the following code which works fine for scraping a page
content.
$(#global).load(filePath .globalNews ul);
But after getting the content I would like to modify it. For example,
if the above code results in following HTML
ul
liA href=news1.html target=_blankNews1/A
liA href=news2.wmv
On May 27, 2009, at 10:51 PM, mediumgrade wrote:
Simply question:
I want to have a DIV start by being invisible, then fade in but I am
not sure how to start in such a way that jQuery can make it fade in.
Any help?
Something like this?
$('div').hide().fadeIn()
(make the selector more
Ah, that makes sense. Thanks, Jörn. I suppose I'd have stumbled across
that solution eventually, but I really wanted to know *why* it wasn't
working, which you've now explained.
I had a look in the plugin docs for block() but couldn't see it
mentioned. Is it an 'undocumented feature', or have I
Probably better to use css for initial hiding. Something like this:
div id=test style=display:none/div
$(function(){
$('#test').fadeIn();
});
On May 28, 4:04 pm, Karl Swedberg k...@englishrules.com wrote:
On May 27, 2009, at 10:51 PM, mediumgrade wrote:
Simply question:
I want to have
Thanks :)
On Thu, May 28, 2009 at 3:41 PM, GaVrA ga...@crtaci.info wrote:
You need jqueryUi for this.
http://docs.jquery.com/UI/Effects/ColorAnimations
Try importing this:
script src=http://ui.jquery.com/latest/ui/effects.core.js;/script
and see if your background will animate... ;)
script
$(function() {
/*
Setting the time to 0 causes the element to advance to its' end state
instantly
*/
$(#mydiv).fadeOut(0);
$(#mybutton).click(function() {
$(#mydiv).fadeIn(500);
});
});
/script
On Thu, May 28, 2009 at 6:02 PM, GaVrA ga...@crtaci.info wrote:
Probably better to use css
no problemo :)
On May 28, 6:56 pm, waseem sabjee waseemsab...@gmail.com wrote:
Thanks :)
On Thu, May 28, 2009 at 3:41 PM, GaVrA ga...@crtaci.info wrote:
You need jqueryUi for this.
http://docs.jquery.com/UI/Effects/ColorAnimations
Try importing this:
script
Hello guys,
I'm currently building a property website for a client and Ive used
jquery for all the javascript on this site.
The thing i would like to know is if anyone knows of a plugin or
method which would help me select image map thing like this property
website has :
Hi jQuery people,
I just found out that jQuery can match on partials,.. is this correct?
and if so how do I make it match on the whole text.
i.e.
div id=myID class=myDiv /
doing a $(.myDiv, #my) will actually match the above tag! is this correct?
if so how do I force it to match the whole myID
Just Curious. in standard JavaScript ( not using the JQuey Library )
How does animate actually work ?
and what makes it browser computable ?
On Thu, May 28, 2009 at 7:01 PM, GaVrA ga...@crtaci.info wrote:
no problemo :)
On May 28, 6:56 pm, waseem sabjee waseemsab...@gmail.com wrote:
Thanks
What I mean how to make the date picker combined together and
propogate date changes from one to another (like this
http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/inlineDatePickerCascade.html#
). Or to improve it so that they changes themselves each other
Many thanks
http://tinyurl.com/m33969
On May 28, 7:35 pm, waseem sabjee waseemsab...@gmail.com wrote:
Just Curious. in standard JavaScript ( not using the JQuey Library )
How does animate actually work ?
and what makes it browser computable ?
On Thu, May 28, 2009 at 7:01 PM, GaVrA ga...@crtaci.info
I think it would be better pratice to use either css(display:none)
or .hide()
On May 28, 6:58 pm, waseem sabjee waseemsab...@gmail.com wrote:
script
$(function() {
/*
Setting the time to 0 causes the element to advance to its' end state
instantly
*/
$(#mydiv).fadeOut(0);
There are going to be multiple .test on the page how can i alert(myID)
for all the elements on the page just testing it so i can see its gtting
them all?
Thanks
Dave
_
From: waseem sabjee [mailto:waseemsab...@gmail.com]
Sent: May-28-09 2:55 AM
To: jquery-en@googlegroups.com
using jQGRid version 3.4.4
I have jQGrid working great with several thousand records, bottom
toolbar search, add , delete etc are working fine in all columns. I
installed the top toolbar search bar using .filtergrid and it is
sending ajax only when I hit enter key, not autocomplete style as
script type=text/javascript
$(function() {
$('div[id^=menu_]').each(function() {
alert(this.id);
});
});
/script
On Thu, May 28, 2009 at 10:56 AM, Dave Maharaj :: WidePixels.com
d...@widepixels.com wrote:
There are going to be multiple .test on the page
It doesn't match on partials unless you use special selector symbols.
The reason your element is matched is because the class myDiv on your div
matches the $(.myDiv) part of your selector. It is not because of the
partial match. When you do a comma delimited list as a selector, an element
Just to add, as .not returns a jQuery object you can check it's length
(is() should be more efficient):
if ( $(this).not(:contains('Offenburg')).length )
On May 28, 9:30 am, Alaa ala...@gmail.com wrote:
Thanks,
Actually I know that the complement to $('foo').is() is !$('foo').is
(), but I
There is no :parent pseudo-selector that I know of. But there is a
parent() method:
$(this).parent().find('input[name^=subsequentProperty]');
If the input is a sibling of this you can take a shortcut:
$(this).siblings('input[name^=subsequentProperty]');
On May 28, 6:40 am, lsblsb
Cool that works. Thanks!
New to this and trying to get multiple sliders on one page but cant figure
out how the script will make multiple slider variables based on this
example.
Changing the code so the page has multiple sliders.
div id=slide_?php echo rand(); ? class=slidesslider here /div
QUESTION: Do $.prompt(temp) and $().prompt(temp) mean the same
thing? If they do not mean the same, how are they different.
Roddy
instead of display none i use this style
.myclass {
font-size:0!important;
overflow-X:hidden!important;
overflow-Y:hidden!important;
width:0!important;
height:0!Important;
margin:0!important;
padding:0!important;
}
On Thu, May 28, 2009 at 7:42 PM, GaVrA ga...@crtaci.info wrote:
I think it
You are correct, it errors when attempting to validate the empty
select. I'll just change the default option to not be blank. Thanks!
On May 27, 5:30 pm, Jonathan jdd...@gmail.com wrote:
Hmm.. threw away the [validate] in the subject. Trying again.
On May 27, 4:28 pm, Jonathan
lol
On Thu, May 28, 2009 at 7:37 PM, GaVrA ga...@crtaci.info wrote:
http://tinyurl.com/m33969
On May 28, 7:35 pm, waseem sabjee waseemsab...@gmail.com wrote:
Just Curious. in standard JavaScript ( not using the JQuey Library )
How does animate actually work ?
and what makes it browser
It's not that hard to create a function that escapes special
characters in case you need it. It's the same issue as with CSS,
jQuery can't escape anything automatically because it can't guess what
you're after.
On May 27, 8:09 pm, RobG rg...@iinet.net.au wrote:
On May 28, 4:07 am, Karl Swedberg
Consider a table of locations where one column is a mailing address.
Each address is at least 2 lines, a few addresses are 6 lines and
everything else falls in between. I have a request to display the
table with only one address line with the option to expand/collapse
the address cell to show
Hello:
I'm trying to use the getJson() with asp.net page (attempting to adapt
jquery in action example to .net):
script type=text/javascript
$(function(){
$('#styleDropdown')
.change(function(){
var styleValue = $(this).val();
I have 3 tabs that each loads using ajax (via href).
The problem i am having is that while a tab is loading - the user can
click on another tab (as they should).
But the tab panel rendering then gets confused - depending how long
the ajax takes or how quickly the tabs are clicked - the results
Hey Everybody!
I'm having an issue that I really hope some nice person can give me a
hand with. I am pretty new to Jquery and I'm really getting confused.
I am currently working on this page:
http://www.empirepatiocovers.com/MetroBlack-Patio-Covers1.aspx (FYI:
a lot of the page functionality
When blockUI is called, the cursor changes to an hour glass to
indicate something is loading. If you don't move the mouse after
everything has completed and unblockUI has been called, the cursor
remains as an hour glass!? It will only go back to normal when you
move the cursor!?
In my html select code i've got the following options:
select name=dir id=selectList
option id=introductieintroductie/option
option id=offertesoffertes/option
/select
But when i select offertes it always shows my value as introductie?
Full page code:
h1 Bestand toevoegen /h1
p Voer alle
Try to switch off your validation plugin...
jquery.validate.js
In my application, the colors are retrieved from a color picker, which are
then inserted as variables in the Gradientz's properties 'start' and 'end'.
Then a button is used to apply the 'Gradientz' on a div when it's clicked.
In Firefox, it works only once but in IE the Gradientz can be applied
May be I little far, but check this link:
http://andrislinz.ch/tutorials/modalBox/index.html#
and click the only existing link in the top left Open modalBox
the box will be shown and click any thing out of the block will be
disabled unless you closed the block by clocking Close modalBox
I mean
I've got an application where I need the select list (the dropdown
menu) to be created inside the parent of the input object, rather than
at the end of the body.
Briefly: we're doing an autocomplete box inside a spring-loaded fly-
out element. The element is shown by a hover event. When the
I've also got a similar issue, using two horizontal Div's each
containing nav rows. I will eventually need three rows,
but in ff it's working great, IE is not so great. dropdown's from the
upper row are behind the lower row.
example
www.roget.com/dev/superfish.php
On May 16, 10:42 am, Ethan
Hi,
I'm trying to make my password field regex-valid, but don't know what
to add.
Here is my code :
$.validator.addMethod(integer, function(value, element) {
return !jQuery.validator.methods.required(value, element) ||
/^\d+$/
i.test(value);
}
, Numbers only
Hi everybody,
im new here and i would like to know if somebody used already the
block ui to validate a form...
Ive seen a bunch of form validations but always using inline elements
to show the warn... i would like to use with the Growl...
Well, you could show me some examples, i would be
Thank you Ameen,
jQuery and its plug-in blockUI does this already (other
javascript/css libraries do this as well.) But I must confess, not
paying attention to their internals had me always wondering on how
they did it until you just explained it. Pretty nifty and simple, I
might add. Had I
why my blog(bulid with juery ) cann't works in IE but well in
Firefox
site http://pbox.blogbus.com
who can give me some advise thanks very much...
Hi,
I am developing a web application with full of independent widgets in
form of iframes.
I would like to avoid embeding jquery (and jQuery UI) in each iframe's
head to reduce number of requests and want to use the libs from the
parent window instead. In iframes' head I tried the following
I need to select the lowest element containing a given string.
The :contains(text) selector returns the element I want but also all
its ancestors (since they too contain the text). I haven't been able
to figure out a selector expression that returns only the lowest
element. Any help
Hi jake dimano;
I am new to JQuery, but familiar with Prototype. So just now I knew
that blockUI is the modalbox alternative in JQuery. Even Mr. Lideln
mentioned it in his first reply
http://groups.google.com/group/jquery-en/msg/52e0fd7944131b42
but I didn't figured out that, otherwise I'll
Your options's are suppose to use the 'value' attribute:
You have:
option id=introductieintroductie/option
You should use:
option value=introductieintroductie/option
On May 28, 5:45 am, Y vd Bogert xeo...@gmail.com wrote:
In my html select code i've got the following options:
select name=dir
That didnt solve the problem, i still get the other value.
2009/5/28 James james.gp@gmail.com
Your options's are suppose to use the 'value' attribute:
You have:
option id=introductieintroductie/option
You should use:
option value=introductieintroductie/option
On May 28, 5:45 am, Y
In your code:
selector.change(function() {
var directory = selector.val();
});
'directory' is a local variable. The value of it will not be
understood outside of this function, such as in your fileUpload AJAX
code.
You should set a global
Thanks alot james, that solved my problem. I didnt know if i made a var in
the function it wasnt public. Thanks!
2009/5/28 James james.gp@gmail.com
In your code:
selector.change(function() {
var directory = selector.val();
});
I am currently loading the TreeView asynchronously and I'm trying to
set it up so an animated gif displays while a node is being expanded
and its child nodes are being created. Currently it just says
placeholder until the child nodes are done loading.
Can anyone offer some suggestions as to how I
Perfect. Thanks Mike. Am I right in thinking this isn't in the docs
@http://www.malsup.com/jquery/form/?
Yeah, it's kind of buried at the bottom of this page:
http://www.malsup.com/jquery/form/#api
Try:
...
var selector = $('#selectList');
selector.change(function() {
var directory = $('option[selected]').text(); // if you want get the option text
or
var directory = $('option[selected]').attr('id'); // if you want get the option
id
...
-Mensagem Original-
De: Y vd Bogert
form name=upload /
li Directorie:
select name=dir id=selectList
option value=introductie
id=stateintroductie/option
option value=offertes
id=stateoffertes/option
/select/li
li
$(#myIframe).load(function() {
var obj = $(this)
var element = $(div, obj);
alert(element.text());
});
the example above should give you a starting point.
On Thu, May 28, 2009 at 5:29 PM, Joe L jala...@gmail.com wrote:
Hello All!
I'm working on a project and within a document I have
this as well
$('iframe').ready(function() {
$('body', $('iframe').contents()).html('Hello World!');
});
On Thu, May 28, 2009 at 11:20 PM, waseem sabjee waseemsab...@gmail.comwrote:
$(#myIframe).load(function() {
var obj = $(this)
var element = $(div, obj);
alert(element.text());
});
I'm trying to figure out how to use a variable as a css property.
For example: $('.name').animate({variable : 100});
I wrote up a quick example script. My goal is to switch the animation
direction depending on the link that you click. Either have the object
animate from the left or top.
Any
1 - 100 of 120 matches
Mail list logo