I'm having a problem wit the ui.datepicker. Specifically
setting/getting the default date. I have the following function:
function setDefaultDates() {
var temp = new Date();
var sd = new Date(temp.getFullYear(), temp.getMonth(), temp.getDate()
- 8);
var ed = new
So what is going wrong now? To me it looks like everything works as
expected (Tabs are loading correctly and the link saying This link
load page 3 in current tab via ajax does exactly what it says)...
--Klaus
On 15 Jun., 00:36, keny [EMAIL PROTECTED] wrote:
hi thanks for helping
i have
I've tested right now some jquery enabled sites and all went fine.
On Sat, 14 Jun 2008 14:35:14 -0700 (PDT), Ed wrote:
I fixed an error on the demo page (not the script) that was causing
the error. On the demo page, I had an extra comma at the end of the
last value in the settings object... rookie mistake. I appreciate you
help!
Glad you got it sorted out
If the loading time of the jQuery file is a real problem, you could
look at gzipping it. This will make it more compact while it transfers
from the server to the browser. It's something a lot of web developers
over look and easily quadrupled the speed of the files I was looking
at.
Also, the
I have a list like:
li
h3span class=addADD/span/h3
div class=dialogContent 1/div
/li
li
h3span class=addADD/span/h3
div class=dialogText 2/div
/li
I want to open a dialog, which are the divs, when the ADD is clicked.
But I only want the dialog that is in the same li tag as the Add
button being
Is the returned html well formed? Does it make sense for it to be
inserted into the dom where you're trying to put it? Have you verified
that the selector for your target div actually finds it in IE?
On Jun 14, 5:22 pm, Fred [EMAIL PROTECTED] wrote:
no, just html.
On Jun 14, 3:03 am, ilrobyt
I have a list like:
li
h3span class=addADD/span/h3
div class=dialogContent 1/div
/li
li
h3span class=addADD/span/h3
div class=dialogText 2/div
/li
I want to open a dialog, which are the divs, when the ADD is clicked.
But I only want the dialog that is in the same li tag as the Add
button being
I have a list like:
li
h3span class=addADD/span/h3
div class=dialogContent 1/div
/li
li
h3span class=addADD/span/h3
div class=dialogText 2/div
/li
I want to open a dialog, which are the divs, when the ADD is clicked.
But I only want the dialog that is in the same li tag as the Add
button being
I have a list like:
li
h3span class=addADD/span/h3
div class=dialogContent 1/div
/li
li
h3span class=addADD/span/h3
div class=dialogText 2/div
/li
I want to open a dialog, which are the divs, when the ADD is clicked.
But I only want the dialog that is in the same li tag as the Add
button being
Thanks and which is the best way to obtain the last number of string,
for example I have:
forum-list-1
forum-list-2
forum-list-3
I need the numbers: 1, 2 or 3.
On Jun 12, 6:44 pm, Karl Swedberg [EMAIL PROTECTED] wrote:
And that's why Ariel is da man! Nice one.
--Karl
Karl
var n = parseInt(/\d/.exec(forum-list-1)[0]);
Or even easier using split (if you can rely on the format of the
string) - pretty much what Ariel already showed:
var n = parseInt(forum-list-1.split('-').pop());
--Klaus
On 15 Jun., 13:18, yo2lux [EMAIL PROTECTED] wrote:
Thanks and which is
And in case you want to shorten the parseInt:
var n = +forum-list-1.split('-').pop();
--Klaus
On 15 Jun., 14:24, Klaus Hartl [EMAIL PROTECTED] wrote:
var n = parseInt(/\d/.exec(forum-list-1)[0]);
Or even easier using split (if you can rely on the format of the
string) - pretty much what
If you want to prevent a flash of unstyled content, you can add the
classes that are added by the plugin right away to your HTML:
ul class=ui-tabs-nav.../ul
div class=ui-tabs-panel.../div
And in case you want to keep your panels hidden:
div class=ui-tabs-panel ui-tabs-hide.../div
--Klaus
var n = +forum-list-1.slice(-1); ;-)
--
Ariel Flesler
http://flesler.blogspot.com
On 6/15/08, Klaus Hartl [EMAIL PROTECTED] wrote:
And in case you want to shorten the parseInt:
var n = +forum-list-1.split('-').pop();
--Klaus
On 15 Jun., 14:24, Klaus Hartl [EMAIL PROTECTED] wrote:
Yes, that should be fixed in the latest revision:
http://dev.jquery.com/view/trunk/plugins/autocomplete/
Can you assert that it actually fixes the issue? I'll create a new
release, then.
On Fri, Jun 13, 2008 at 7:53 PM, Priest, James (NIH/NIEHS) [C]
[EMAIL PROTECTED] wrote:
Jörn, have you
That, it isn't dead. First posts from a user go through the moderation
queue, and it can take a few hours for them to get through.
Jörn
On Sat, Jun 14, 2008 at 1:01 PM, Georg [EMAIL PROTECTED] wrote:
Hi there,
i joined the jquery plugins group a few days ago to ask some questions
about the
Aaargh, can somebody please stop Ariel ;-)
--Klaus
On 15 Jun., 14:55, Ariel Flesler [EMAIL PROTECTED] wrote:
var n = +forum-list-1.slice(-1); ;-)
--
Ariel Fleslerhttp://flesler.blogspot.com
On 6/15/08, Klaus Hartl [EMAIL PROTECTED] wrote:
And in case you want to shorten the
On May 26, 2:14 am, Michael Geary [EMAIL PROTECTED] wrote:
$.extend(foo) merely returns a reference to foo. It doesn't
clone foo.
$.extend( {}, foo ) creates a new object and copies all of foo's
properties into it (doing a shallow copy).
So in theory you may be able to use
Currently I have only tested 2 way to do server side jquery
1. env.js + rhino
2. jaxer
Both 2 methods are following John's blog
Anyone know other ways such as other JavaScript server
implementations?
Thanks.
Dear list,
I am trying to remember the last selected tab using cookies but it doesn't
seem to work no matter what I do.
My code is the following:
$(function()
{
$('#tabCont ul').tabs({fx: {opacity: 'toggle', duration: 500, cookie:
{expires: 7, path: '/'}}});
});
Should this be enough to
Hello,
I have what seems like a pretty basic question about the slideDown/
slideUp effects, but I'm new-ish to jquery and haven't been able to
find a way to do what I'm after. Is there any way to reverse the
default slideDown/slideUp behavior--so that, when the content is
revealed, it slides
That, it isn't dead. First posts from a user go through the moderation
queue, and it can take a few hours for them to get through.
I now that it could take a while to approve mails to a mailinglist. My
message is still not posted after 4 days and i understand that can
happen if the moderator
Bump.
I've also been having the same problem.
Cheers,
Alex
On Thu, Jun 12, 2008 at 11:48 PM, mike [EMAIL PROTECTED] wrote:
Hello,
I just made the jump from Prototype to jQuery and so far I'm really
enjoying it. However, some parts of my website are still using the
Prototype library and
I have implemented a form validation process that uses ajax to check
fields whenever a field value changes and also at form load when
fields are filled with existing values.
This process works just fine in all browsers execpt in IE when a form
loads.
In IE7 page loading hangs when a form that
Hi,
Ya like i said everyting work the link is loaded but afther that,
even if you click on tab 1 or 2 or 3 the page d'ont load anymore ist
stay to page 3
If i click tab 1 ist should reload the page 1 same thing for tab 2 ...
Thank you !
On 15 juin, 02:50, Klaus Hartl [EMAIL PROTECTED]
Sorry, I need the number (marked with x):
forum-list-x
and not the string before the number.
On Jun 15, 3:55 pm, Ariel Flesler [EMAIL PROTECTED] wrote:
var n = +forum-list-1.slice(-1); ;-)
--
Ariel Fleslerhttp://flesler.blogspot.com
On 6/15/08, Klaus Hartl [EMAIL PROTECTED] wrote:
Hi,
I just started learning jQuery and wrote this script to make an image
enlarge when you click on it and return to normal when clicked on
again.
However, to make it return gracefully to its original position, I need
to record of its top and left properties.
The script works fine in Firefox,
We nest our form inputs into unordered lists and use jquery to
highlight the parent list item of the active input:
$(function()
{
$(ul.form).find(input,select,textarea,option,.file)
.focus
(
function()
{
var n = this.parentNode.parentNode.id ; // return: forum-list-x (x is
an integer).
I use this statement to extract the number:
var n = this.parentNode.parentNode.id.slice(11);
I think this is the good solution!!
On Jun 15, 6:56 pm, Klaus Hartl [EMAIL PROTECTED] wrote:
Aaargh, can somebody
Hello
You may know already that Google pays students to write open-source
software, as part of the Google Summer of Code (GSOC).
You may not know that this this year there is, sort of, a jQuery GSOC
project! And it involves the (La)TeX typesetting system for
mathematics. (Even if you don't
I'm new here,
For what cause you want to execute jquery on the server side?
--
Nitsan
On 15/06/2008, howa [EMAIL PROTECTED] wrote:
Currently I have only tested 2 way to do server side jquery
1. env.js + rhino
2. jaxer
Both 2 methods are following John's blog
Anyone know other ways
Hoi guys!
I define a event trigger $('#id div a).click().
The url in the href attribute of the a tag is called via $.ajax
and the returned data is inserted into the #id element.
So, the actual HTML in the #id event is replaced
by the data AJAX response data. After the data
was inserted into
Oups, it was a mistake at my side, corrected code:
$(function()
{
$('#tabCont ul').tabs({fx: {opacity: 'toggle', duration: 500}, cookie:
{expires: 7, path: '/'}});
});
--
Isaak Malik
Web Developer
http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_Ajax_request.3F
On Jun 16, 4:52 am, Thasmo [EMAIL PROTECTED] wrote:
Hoi guys!
I define a event trigger $('#id div a).click().
The url in the href attribute of the a tag is called via $.ajax
and the
That looks correct. Did you not forget to include the cookie plugin?
--Klaus
On 15 Jun., 18:34, Isaak Malik [EMAIL PROTECTED] wrote:
Oups, it was a mistake at my side, corrected code:
$(function()
{
$('#tabCont ul').tabs({fx: {opacity: 'toggle', duration: 500}, cookie:
{expires: 7,
Also, the jQuery file only has to be transfered once to each person
that used it. Then the browser just uses the cached file.
Well, that depends on a lot of things. :-)
Mike Alex,
What version of Prototype are you using? Also, are you using
Scriptaculous as well? If so, which version?
Rey
Alex Bilbie wrote:
Bump.
I've also been having the same problem.
Cheers,
Alex
On Thu, Jun 12, 2008 at 11:48 PM, mike [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
On 6月16日, 上午2時34分, Nitsan Bin-Nun [EMAIL PROTECTED] wrote:
I'm new here,
For what cause you want to execute jquery on the server side?
'DOM Scraping'
http://www.aptana.com/node/339
Hi,
I'm currently using the validation plugin. However I ran into some
problems.
When I use div (or even ul) as a wrapper, if there is a validation
error and I correct it, the whole form disappear, in fact the whole
body element is marked as display: none.
I did a search on Google and found
Rey Bango wrote:
Found on Twitter:
Announcing Tweet (http://tweet.seaofclouds.com/), a simple @jquery
plugin to put Twitter on your website.
Rey...
Pity they are sticking stuff on String.prototype :( Aside from that,
nice plugin.
Have you tried the listen plugin?
It works with dynamicly added content.
http://plugins.jquery.com/project/Listen
On Sun, Jun 15, 2008 at 12:52 PM, Thasmo [EMAIL PROTECTED] wrote:
Hoi guys!
I define a event trigger $('#id div a).click().
The url in the href attribute of the a tag is
Hi Stefan,
Why don't you use local version of the script using script tag in your
xul document like this:
script type=application/x-javascript src=jquery-1.2.3.js/ (well
put whatever version you fancy)?
You might be interested in couple of problems I ran into using jQuery
and actually one of the
Hi, thanks again for answer me,
Your function dont work, it only show in another page the word false
I have try all of these combinaison whit the same result :
function loadTab(url) {
var url;
$(this).parents('div.ui-tabs-panel').load(url);
return false;
}
function loadTab(url) {
Hi,
I'm currently using the validation plugin. However I ran into some
problems.
When I use div (or even ul) as a wrapper, if there is a validation
error and I correct it, the whole form disappear, in fact the whole
body element is marked as display: none.
I did a search on Google and found
No, the Scriptaculous library is not being loaded.
Prototype version: 1.5.1_rc3
Doesn't that code give a not a function JavaScript error when you try to
run it? Load the page with Firebug and it should log an error on this code
when you click:
$(this).parent().parent().$(.dialog).dialog(open);
Let's break it down:
$(this) - the add SPAN
$(this).parent() - the H3
47 matches
Mail list logo