Wonderful!
Thanks.
On Sep 20, 12:16 pm, Michael Geary m...@mg.to wrote:
Ah, I did misread the problem. Now I follow you, thanks for the
clarification.
There is indeed a better and simpler way to do this, which works with
*any*kind of asynchronous callback. You don't need to rely on having
Hi,
I tried to make an AJAX call using jQuery, the data has special
characters, e.g {'data':'ptest/p'}. It seems failed to pass this
data in the first place. It will work if i just pass
{'data':'test'}. encodeURIComponent and JSON.stringify failed here
due to the special character /.
Could
I too am trying to get this to work. I'm using live() instead of bind
(). Unfortunately, the problem is the content that is supposed to
load via ajax never makes it to the modal. Any suggestions?
On Sep 2, 4:57 am, Liam Potter radioactiv...@gmail.com wrote:
Use live instead of bind
hello everyone.
i have a problem. i wanna add left and right buttons but i couldn't i
have tried long time so really i need.
i am looking for like this for example:
a href=# id=mycarousel-prevPrev/a
or
a href=# id=mycarousel-previmg src=images/prev.gif/a
i wanna put like this buttons. please
Easy guys,
I've cobbled this script together to help me implement 'read more...'
links on this site I'm developing: http://www.blowcreative.co.uk/blog/
It does the job, but I lose all the mark-up in the process :[ It
doesn't cater for a bunch of tags like img, ol, ul etc. slice()
ain't being
hi...
I don't know whether jqgrid provides this or not?
but what my actual requirement is I want to display format of date
like 'MM/DD/' behind my birthdate's textbox, so user will enter
proper date while he insert/update particular record from jqgrid..
In short how to display format text
At http://www.decebal.nl/testing.html I have some functionalities I
made with jQuery. Nothing world shocking, but maybe usefull for
others.
- a way to automatically notify people that they should enable JavaScript
- Table of content (with 'Go back to top')
- Increase/Decrease text (has a little
Are there any issues with IE preserving these values? Part of the
reason for my question is that I read somewhere (annoyingly, I can't
remember where, otherwise I would go back and double-check it) that IE
doesn't handle retaining these things well.
So would something like this be the way to go
Hi
Internet Explorer (in particular IE6) has some limit on maximum URL
length. This is very hard to debugging if you don't know what to
search for. Maybe jQuery could throw some self-explaining exception
when URL is too long?
Regards,
Hi again
I have put up a minified version of the script:
http://www.dudal.com/jquery/jquery.jcarousellite.pauseOnHover.min.js
The minifyer choked on a css float attribute in the original script.
Seems that the minified version is working fine after quoting float.
Best
Jesper
On 19 Sep.,
2009/9/21 Cecil Westerhof cldwester...@gmail.com:
- a way to automatically notify people that they should enable JavaScript
The way that I did this was that start the body with:
h1 id = needJavaScript
For best results JavaScript must be enabled!!!
/h1
And in the
You'd be better off just removing the div entirely.
$(document).ready(function()
$(#needJavaScript).remove();
);
Cecil Westerhof wrote:
2009/9/21 Cecil Westerhof cldwester...@gmail.com:
- a way to automatically notify people that they should enable JavaScript
The way
How do I use the highlight function in the auto complete plugin?
I wish to replace strong/strong with span class=blah../span
Thanks
Asa
Often the best solution is to simply avoid troublesome features.
I think this article explains the concept well
http://www.alistapart.com/articles/testdriven
as simple as possible but not simpler
30,000 registered at TNL.net
that would be an awful lot to check; which is why checking is the
As stated in your documentation, it's possible to iniciate the
selector with more than one filter of ^= kind. But when I try to use
that feature it doesn's seem to work. Should it work that way? May I
actually use two or more filters of that kind (^=) in the same
expression?
var procsGrid =
I don't see talk in the docs
http://docs.jquery.com/Selectors/attributeStartsWith#attributevalue
about using multiple of those in a single selector you may want to
seek a different approach i'd try to help but your selector
doesn't make much sense
On Sep 21, 8:46 am, Erich Nascimento
on 9/21/09 4:27 AM, dudal at jes...@dudal.com wrote:
Hi again
I have put up a minified version of the script:
http://www.dudal.com/jquery/jquery.jcarousellite.pauseOnHover.min.js
The minifyer choked on a css float attribute in the original script.
Seems that the minified version is
Thank you MorningZ,
I seem to have managed to solve the problem, but I'd like to know
whether in Attribute Filters I could use more tha once the same
operator.
For exemple: to have two or more times the operator ^= to select
certain elements that iniciate with different IDs.
Perhaps that is
Cecil Westerhof ha scritto:
2009/9/21 Cecil Westerhof cldwester...@gmail.com:
- a way to automatically notify people that they should enable JavaScript
The way that I did this was that start the body with:
h1 id = needJavaScript
For best results JavaScript must be enabled!!!
Anyone has any idea ?
I have tried this way.
$(divpHello/p/div).find(p).appendTo(#content); //
works... it append pHello/p
I have tried it with all the content of data parameter
$(data).appendTo(#content); //works - add all the DOM received in
Data
The problem is when I try to extract a part
why not restyle the strong tag?
Asa Carter wrote:
How do I use the highlight function in the auto complete plugin?
I wish to replace strong/strong with span class=blah../span
Thanks
Asa
let's say you have World in data, you have to do this:
$(div).find(p).html($(div).find(p).html() + data);
so your html would look like:
divpHelloWorld/p/div
On Mon, Sep 21, 2009 at 11:49 AM, Frederik fdussau...@gmail.com wrote:
Anyone has any idea ?
I have tried this way.
Hello macsig!
I haven't really had time to look into your problem, but after a quick
look through the documentation i found this
http://docs.jquery.com/Effects/stop#clearQueuegotoEnd
Perhaps that could work for you? I imagine something along the lines
of :
Just read that topic. Very nice effect, and nice helpful code
improvements! You guys are great.
On Sep 21, 2:18 am, Karl Swedberg k...@englishrules.com wrote:
Sure.
// find all a elements within $navigation (which is a variable for $
('#navigation')
$navigation.find('a')
// bind two
I believe I found an accessibility issue with superfish. I have the
sf-
menu ul as the child of another list item. After tabbing through the
entire sf-menu, it disappears. How might I fix this?
This is happening in both IE and firefox.
It is nested as follows.
ul - li - ul sf-menu
2009/9/21 RobG robg...@gmail.com:
On Sep 18, 1:32 am, ldexterldesign m...@ldexterldesign.co.uk wrote:
A
friend of mine just recommend:http://www.quirksmode.org/js/detect.html
Don't use it. Don't even consider detecting specific browsers for
javascript quirks. For HTML or CSS hacks, go to
How about switching to POST instead of GET ? That would take care of
any issue
On Sep 21, 6:39 am, Rafal Zarajczyk rzarajc...@gmail.com wrote:
Hi
Internet Explorer (in particular IE6) has some limit on maximum URL
length. This is very hard to debugging if you don't know what to
search for.
Thank you for offering insight into this issue. Unfortunately, after
searching for this snippet of code 'document.onselectstart = function
() {return false;}'
I was not able to find anything. It does look like the .js file
culprit is named: jquery.ui.all.js
In it there is this: (I have tried
Advice to never use browser detection is good advice, but in my
experience it's simply impossible to follow. The bad behaviors of old
IE browsers - behaviors that are, in effect, bugs, and therefore not
features that obey any particular logic - are numerous and
pervasive. Facile advice like
Hi folks
I'm just starting out with jQuery. I want to make a simple 'ul'
dropdown menu to improve my understanding. The basic flow is this:
'ul.menu li ul' has display:none on hover of li, get store height
of 'this' hidden ul set height of 'this' ul to 0 set display to
block animate height
Hi,
We are using autocomplete plugin with Jquery
1.3 and Jquery UI 1.7.2. When the plugin is used with Jquery UI Modal
dialog we are getting auto suggest layer behind the modal layer. We
feel itz due to z-index of dialog. Please let us know if there any way
fix this
Hi, Asa
If the link below may help you, it is my pleasure.
http://www.donotyet.com/2009/08/30/3-examples-of-facebook-like-autosuggestion/
2009/9/21 Asa Carter asa_car...@hotmail.com
How do I use the highlight function in the auto complete plugin?
I wish to replace strong/strong with span
Hi, Toaster
some examples in the below link may help you.
http://www.donotyet.com/2009/09/06/ajax-search-save-time-save-money/
On Sep 21, 1:00 am, Toaster mr.toas...@gmail.com wrote:
Hello
I was thinking of having my search result filters affect data
automatically without reloading the
I am jquery beginer,
I write my project using STRUTS 2 and Jquery
I'd like to know how can I add a ToolTip to some existing controller
such as Date Picker, stright forward.
if it looks like the below(jsp page):
%@ taglib prefix=s uri=/struts-tags %
%@ taglib prefix=sj
I suppose I could do that. thanks...
On Sep 21, 3:31 pm, Liam Potter radioactiv...@gmail.com wrote:
why not restyle the strong tag?
Asa Carter wrote:
How do I use the highlight function in the auto complete plugin?
I wish to replace strong/strong with span class=blah../span
Thanks
Hi, Scott
I have just accessed the link you provided in your mail. It is fairly
interesting.
In fact, there is an collection about form validation in below site.
http://www.donotyet.com/2009/09/20/the-ultimate-collection-of-ajax-form-validation-plugins-controls/
may it give you some hints?
Hello all,
I'd like to know if you have a way to disable the long-running script dialog
boxes, as one can see many in this article :
http://www.nczonline.net/blog/2009/01/05/what-determines-that-a-script-is-long-running/
I can hardly split my processing into smaller chunks, and cannot ask
// This site works best with JavaScript enabled and not using Internet
Explorer. Take your pick of the others instead: Firefox, Google
Chrome, Safari, Opera...
Anyone? :P
Thanks,
use noscript and conditional comments.
ldexterldesign wrote:
// This site works best with JavaScript enabled and not using Internet
Explorer. Take your pick of the others instead: Firefox, Google
Chrome, Safari, Opera...
Anyone? :P
Thanks,
Cheers man. And the browser detection..?
Thanks,
On Sep 21, 5:14 pm, Liam Potter radioactiv...@gmail.com wrote:
use noscript and conditional comments.
ldexterldesign wrote:
// This site works best with JavaScript enabled and not using Internet
Explorer. Take your pick of the others
So I discovered how to use the gt() function today :]
It helped, as did this script (http://stackoverflow.com/questions/
1021306/using-jquery-to-limit-the-number-of-list-elements)
Thanks,
On Sep 21, 10:15 am, ldexterldesign m...@ldexterldesign.co.uk wrote:
Easy guys,
I've cobbled this
Dear all,
I am playing with malsup's corners and I am getting strange nudges on
both top corners in Opera, IE6 and Konquerer when applied to nested
elements (to achieve a cornered border). I am using exactly the same
code as on the demo page: $(this).corner(round 8px).parent().css
('padding',
I can hardly split my processing into smaller chunks
I'm sure that's not true. If your script is running so long that it
causes the warning dialog to display then you must refactor it.
I am playing with malsup's corners and I am getting strange nudges on
both top corners in Opera, IE6 and Konquerer when applied to nested
elements (to achieve a cornered border). I am using exactly the same
code as on the demo page: $(this).corner(round 8px).parent().css
('padding',
Another example, since I've just had to deal with it: try and use
fadeIn() and fadeOut() sometime when there's a transparent PNG
somewhere in the affected content. There's no
fadedPngImagesLookTerrible() predicate I can use. How do I decide
what to do? Should I just back off from what I think
How did you manage to get it in dialog. Im using Jquery UI 1.7.2
dialog for me the auto suggest layer displays behind the modal dialog
overlay. Please let me know how to acheive it?
On Sep 8, 1:11 pm, Kevin kevin.van.hae...@gmail.com wrote:
Hello,
When I usejquery.autocomplete.js on a field
My function loads content from an external page
(field.details.preview.aspx) and loads it into a div named container.
I would like to load this external content into a popup page instead.
I'm not sure how to tackle this. Thanks
script type=text/javascript
$(document).ready(function()
{
If by popup page you mean separate browser window, then it's
somewhat easier. You can have your server-side code return a complete
HTML page instead of just a fragment, and then use window.open() to
load that URL.
On Mon, Sep 21, 2009 at 1:29 PM, evanbu...@gmail.com
evanbu...@gmail.com wrote:
I'd use a filter function. Something like this maybe:
$('#MyTable tr').filter(function() {
return /^(Row(?!Header)|Line(?!Empty))/.test(this.id);
})
It's a kind of crazy regular expression, with negative lookaheads, but
it works (as of JavaScript 1.5).
--Karl
Karl Swedberg
Thanks,
it stops the animation but now there is an other issue.
Is there a way to keep the same speed for the scrolling? I mean if I
set the duration up and down and I go down just, let us say, for 1/3
of the div when I scroll back up the animation is 3 times slower since
the duration is
how about some different object notation?
$.getJSON(
http://domain.com/data;,
function (data) {
var state = {
select: $(#id_state),
div: $(div_id_state),
children: $(#id_region,#id_destination)
}
//Do
Guessing by his usage of a div and a .load() call, his intent most
definitely is not to call a separate browser window
Back to the original code, what kind of object is .Id_Field ? seems
like it's a hyperlink since you are return false-ing at the end, but
if that's the case then .va() isn't
got it.
FYI the issue is related to a inner-table
On Sep 20, 5:27 pm, macsig sigbac...@gmail.com wrote:
Hello guys,
I have hard time to use tablesorter 2.0 with a javascript div update.
I have tried it in several ways (using default Rails rjs file or all
jquery call) but the result is the
one doubts that where ever I put my js code inside the block head or
out ... Does anybody know any good tutorial explanatory label it?
Hi there,
I am building a simple show/hide list with the help of jquery. It
works great on IE and Firefox but in Chrome and Safari the closing
menuitems shift the whole menu to the left for a second and then back
to its origin. I have about 20 menüitems that each hold about 5
submenü items. The
I'm working on implementing a menu and need to have information when
the menu size is larger than the width of the window. The problem is
that pas a certain point, jQuery(body).width() keeps registering
497, despite being much smaller than that. Has anyone had this issue
I'm using the sort UI nested, so you have
ul
ul class=list1
liStuff 1/li
liStuff 2/li
liStuff 3/li
/ul
ul class=list2
liStuff a/li
liStuff b/li
liStuff c/li
/ul
/ul
In ff, it allows me the ability to sort list1 vs list2 as well as the
contents from list 1 within
I am having the following issue, when I try using an image to post I
cannot get the validation to run. When I click the button the form
submits and nothing is checked. I've been searching all over the web
and cant find any help. One way of coding doesnt work and the other
does. I have
You'll find people will debate either way, and to be honest, you
aren't going to find a definitive answer
Do what works for you
On Sep 21, 4:59 pm, Theodoro ftgoncal...@gmail.com wrote:
one doubts that where ever I put my js code inside the block head or
out ... Does anybody know any
First off, there is a dedicated jQuery UI mailing list (http://
groups.google.com/group/jquery-ui?hl=enlnk=), the guys who do the
code all post/help in there
Second, you may want to show the wiring up of the sort functionality,
something may be incorrect with it
On Sep 21, 3:05 pm, Logan Bailey
Hi all
I've got a js file where all the functions are wrapped inside $
(document).ready(). I want to call one of the function from within the
HTML but it says that the function is not defined. Any ideas?
Cheers
Matthew
It isn't necessary to define the functions inside the document.ready.
Just code which is being executed.
Example:
function Do_Something()
{
///
}
function Do_Something_Else()
{
///
}
$(document).ready(function(){
Do_Something();
});
JK
-Original Message-
From:
Do you have like this:
External js file code.js:
$(document).ready(function() {
function Action1() {
// do stuff
}
});
Html file index.htm:
html
head
script type=text/javascript src=code.js/script
/head
body
... some html here ...
Well Action1 is a local function to that jQuery ready function, so
it's *never* going to be available as a global function.
A couple of options:
1) Turn your wannabe-global functions into jQuery plugins
2) Explicitly add your functions to the window object
window['Action1'] = function()
hi!
please write here you code.
Thanks.
--
From: Matthew matthewbchamb...@gmail.com
Sent: Monday, September 21, 2009 8:11 PM
To: jQuery (English) jquery-en@googlegroups.com
Subject: [jQuery] Accessing functions inside $(document).ready()
Hi
Hi guys
Thanks for the great feedback. MorningZ was right on the money with my
scenario. I'm incorporating a js file of a photo gallery which was
built by some else and all the code is wrapped in the $(document).ready
() function.
So it looks like you all seem to agree that all the methods
@MonringZ: I just tried the brilliant testing website! I just wanted
to double check; so because Action1() is wrapped inside the ready()
function it esentially is processed as the page loads and then
basically disappears/become unavailable. I took your example further
and added a button with an
Mike's suggestion indeed is the rest of it... i was just trying to
get you past the fact that until $(document).ready fires, you can't do
anything with code inside there yet
On Sep 21, 8:28 pm, Matthew matthewbchamb...@gmail.com wrote:
@MonringZ: I just tried the brilliant testing website! I
Ok thanks MorningZ. I've taken a different approach. I'm just binding
the onClick logic to the button within the .ready() block.
Thanks again for all the help!
Cheers
Matthew
On Sep 22, 10:39 am, MorningZ morni...@gmail.com wrote:
Mike's suggestion indeed is the rest of it... i was just
I have a How did you hear about us? with a series of checkboxes that is
working great, however there is an option for Other, where they can fill
out their answer.
I want to modify the script so if the checkbox for Other is selected, they
are required to fill in the input box.
I have this
Thanks, it works. Is there a reason why the object notation I used
doesn't work?
2009/9/21 Cecil Westerhof cldwester...@gmail.com:
- Increase/Decrease text (has a little problem in Firefox)
False alarm. Is a problem of that particulair Firefox. Other Firefox
does not have the problem. Is a bit strange.
The problem was even bigger with MIE8, but maybe that is also only
that
2009/9/21 Liam Potter radioactiv...@gmail.com:
You'd be better off just removing the div entirely.
$(document).ready(function()
$(#needJavaScript).remove();
);
That was what I did first. I wanted to be to smart I am afraid. But
the noscript suggestion of Giovanni is even better.
--
2009/9/21 Giovanni Battista Lenoci gian...@gmail.com:
Cecil Westerhof ha scritto:
2009/9/21 Cecil Westerhof cldwester...@gmail.com:
- a way to automatically notify people that they should enable JavaScript
The way that I did this was that start the body with:
h1 id = needJavaScript
On Sep 22, 1:30 am, Mike McNally emmecin...@gmail.com wrote:
Advice to never use browser detection is good advice, but in my
experience it's simply impossible to follow. The bad behaviors of old
IE browsers - behaviors that are, in effect, bugs, and therefore not
features that obey any
PNG graphics with alpha channels are not an exotic luxury. For a
broad spectrum of site design approaches - basically anything
involving interesting backgrounds or varying page components over
which dynamic content may be rendered - not having PNG support means
scrapping the design or going to
76 matches
Mail list logo