Hi,
> How can I change this to my code runs faster?
I don't think, that you should change jQuery here.
As much as I understand it, that function is called whenever you use a more
complex expression than just an ID, a tag name or a classname.
1. Try to give your input-Elements IDs and use $("
Daemach,
Thanks for responding. I was under the gun so I ended up making the
structures I needed to access global, and on the page in the iFrame, I
just access them as 'parent.obj'. Actually, it ended up working really
well for me.
Still, it would have been good to pass in that JSON string t
Has anyone gotten the Multiple File Uploads plugin to work with the
Forms plugin?
I can happily upload multiple files via Ajax with the Forms plugin,
but I really want to add the Multiple File Uploads widget (I love that
nice, clean look and feel). But as soon as I add the 'multi' class
definiti
http://www.nabble.com/Plugin%3A-frameReady-updated.--Now-with-better-docs-and-demos--%29-tf3610043s15494.html
You could try frameReady: http://ideamill.synaptrixgroup.com/?p=6
oscar esp wrote:
>
>
> I did some test in order to load div using ajax call:
>
> jQuery.ajax({
> type: "get",
> u
Here's another possible solution:
http://www.nabble.com/Plugin%3A-frameReady-updated.--Now-with-better-docs-and-demos--%29-tf3610043s15494.html
http://ideamill.synaptrixgroup.com/?p=6
Christopher Jordan wrote:
>
>
> Hi folks,
>
> First let me say that I *did* search the list, and I *did*
Kim,
>Hello,
>
>So now I'm trying to implement Jorn's fantastic
>autocomplete revision, and am encountering some
>problems.
Since you're in a hurry, try my original mod to see if it works for you:
http://www.pengoworks.com/workshop/jquery/autocomplete.htm
Joern's made a lot of changes and refac
Thanks Jorn and sorry by delay in response.
Yes, using excellent Firebug Profiler give me several and interesting data
to look for:
(no name)8789(calls)35%(Percent)218.75ms218.75ms0.025ms0ms15.625msjquery.js
(line 1006)merge6727.5%171.875ms203.125ms3.032ms0ms46.875msjquery.js (line
596)grep4410%
If I'm understanding correctly, then you can do
$(this).parents("div.foo") (where "this" can be
substituted, of course, with whatever the "context"
is)
:)
.parent (singular) will get THE parent, while parents
will keep searching up (I think?).
Someone correct me if I'm wrong -- I'm still dece
I've been reading about the many jQuery selectors, and it seems that
there is great flexibility looking for descendants. For instance //
DIV.foo will go looking for any DIVs with class foo starting at the
given context, no matter how far down it might be burried.
What I've been unable to stumble
You should file a net ticket for this. http://dev.jquery.com/newticket
--
Brandon Aaron
On 4/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Well i can get the defaultvalue by direct accessing it, but i wonder
why not via jquery. It's not very consistent to access all via the
attr and defa
Well i can get the defaultvalue by direct accessing it, but i wonder
why not via jquery. It's not very consistent to access all via the
attr and defaultValue direct and i don't like that.
W3schools says it's a w3c complaint attribute so i think it should be
accessible.
This is what they say : "Set
I'm sorry for the maybe too frequent updates, but I've just spotted
another bug and have fixed it.
The newest version is 1.0.4. SVN Revision 20 (unpacked) or SVN
Revision 18 (packed).
Sorry for any inconvenience.
Cheers,
Chris
On Apr 21, 12:15 am, Chris Jordan <[EMAIL PROTECTED]> wrote:
> H
Let's take the code apart
nTipoDurata=$(":radio").fieldValue();
make a value out of all the radio buttons on the page?? weird!
I would usually use $("[EMAIL PROTECTED]:checked").val()
Little else looks weird to me.
Although without a live link would help!
PS I advocate using as few ids as poss
Hi,
I've the same problem on safari and firefox for mac and in some
windows based system.
The problem is only on the call to the page costonoleggio.php. I don't
know why in the most part of the systems (windows) all work correctly.
It will be surely a bug in my script but I don't find it.
On Ap
Neat - thanks for making it available.
On Apr 21, 1:21 pm, "Brian Cherne" <[EMAIL PROTECTED]> wrote:
> jVariations is a developer tool that generates a control panel (with
> checkboxes and radio buttons) to show and hide variations (aka corner cases)
> in a single HTML template.
>
> Why? When pro
jVariations is a developer tool that generates a control panel (with
checkboxes and radio buttons) to show and hide variations (aka corner cases)
in a single HTML template.
Why? When providing HTML templates to server-side engineers I got tired of
having separate files to show variations... think
Yes. This is possible and it is the situation I described.
Thank you for your patience. I must say that support on this list is just
awesome in relation to other projects.
Yoyo
Note: In addition, this only works in IE6 :( (firefox
doesn't initialize it at all)
--- Kim Johnson <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> So now I'm trying to implement Jorn's fantastic
> autocomplete revision, and am encountering some
> problems.
>
> Problem page:
>
http://anime-planet.
Hello,
So now I'm trying to implement Jorn's fantastic
autocomplete revision, and am encountering some
problems.
Problem page:
http://anime-planet.com/anirec/recommendation2.php?animeid=2
Autocomplete initialization:
$("#rec1").autocomplete(
"autocomplete_anirec.php",
{
Testing...
I think you want attr("value") for the value in the dom, vs ,val() for the
current contents.
defaultValue is a shortcut to get to the defined value from the html I
haven't used it but I have seen similar things with form items.
On 4/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Whil
do you actually have an attribute on your input element called
"defaultValue"?
like this:
defaultValue="theDefaultValue">
then you could say:
$("#myTextID").val();
and that would give you: someValue
or you could say:
$("#myTextID").attr("defaultValue");
and that would give you: theDefa
While i can acces a default value of an input field by:
field.defaultValue
i can't access it by $(field).attr('defaultValue')
All other attributes i can acces via the .attr() method but not this
one.
Can it be added?
Okay, so viewing the post from the web interface the image didn't work
out. If you can't see the image, then you can view it here (http://
cjordan.us/images/example.png)
Cheers,
Chris
On Apr 21, 12:32 pm, Christopher Jordan <[EMAIL PROTECTED]>
wrote:
> Recently I started using ThickBox for my mo
Recently I started using ThickBox for my modal windowing needs, but
wasn't happy with the "close" button that is hard coded into TB_show().
I modified it like so:
function TB_show(caption, url, rel, closeButton) {
// closeButton can be a fully formed tag or whatever
text you want.
/
if you're using full firebug and firefox croaks, it's not likely a safari
problem!
firefox runs almost the same on mac and pc.
My offer still stands as I run 3 mac browsers.
On 4/21/07, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]> wrote:
it might be this line that safari is croaking on!
$("#costo").html($("costo
it might be this line that safari is croaking on!
$("#costo").html($("costo",xmlData).text());
Safari is very conservative about adding nodes from an xml ajax request to
the html page. I've done some kluges, that help skirt the issue.
Have you tried the nightly build of webkit to determine if it
Hi folks,
First let me say that I *did* search the list, and I *did* find a
thread or two on this subject, but the solutions I found there seemed
hokey to me.
The problem is I'm trying to pass a JSON string on the URL (I'm using
TB_show directly), and my most recent guess as to the problem is th
Hi, all... the saga continues...
I'm so close, yet so far.
I think the problem is doc-type declarations.
No matter what I do, it creates one problem or another.
Now, as it is, the server-side works fine, but the client-side
is disabled.
Would someone please look at the attached code and
tell m
Hi, all... the saga continues...
I'm so close, yet so far.
I think the problem is doc-type declarations.
No matter what I do, it creates one problem or another.
Now, as it is, the server-side works fine, but the client-side
is disabled.
Would someone please look at the attached code and
tell me
Excellent! Thank you both for the prompt help.
- whiteinge
Ok...this one is dumb but it is happening and I can't see where/why.
Same exact code is copied/pasted then tweaked slightly. The tweak is merely
a change of which container ID to target and the css classes for respective
elements (entry-block vs file-block, etc).
Now...in one place the sort work
{urgent}
I've been trying to figure out why interface is jacking up my layouts every
time I do a sort by tweaking my code, css, etc. After wasting a ton of time
I saw the link for the source code in interface and looked through
isortable.js.
Lo and behold: shs.display = 'block';
ARG
Hallo,
I have rewritten my plugin to get GET-Params. It is now able to get
document params:
$(document).getUrlParam("param1").
And it is able to get params of an image/javaScript link:
$("#javaScriptFile1").getUrlParam("ajaxUrl");
I need the last method, because my php script is generating a
Hi
anyone does know if i have in jquery something like ScrollTop. i made
a calendar with hours, and need to scroll from 9.00 hours, that means
rows 10, i was reading about JScrollPane plugin, but i did not find
how to use it with tables.
thanks
Actually, I'm not trying to do just client-side validation... I've already
got that working by itself. And I've got server-side working...been doing
that
for years. Now, I'm trying to combine the two and run the client-side
validation,
then run the server-side validation and if there are any ser
Actually, the thread is about determining if its available at all.
Then, once I know, I can set a URL variable or do what Jam
suggested and display something. Either way, the way to do
it is to run a script that does something. If that something isnt
done, then the script didnt run because
Hi, Dan...
The only reason I'm interested in being able to determine
whether or not JS is enabled is that I'm trying to use JS
to place error messages back on a page via JS (Ajax)
after server-side validation.
What I'm trying to determine now that I've been working on
this approach (unsuccessful
Thanks for the tip, Jam!
Rick
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Giant Jam Sandwich
Sent: Saturday, April 21, 2007 8:39 AM
To: jQuery (English)
Subject: [jQuery] Re: Best way to determine if a user has Javascript
enabled?
Detectin
iTechArt Group - Custom Software Development and Offshore outsourcing
Company
http://www.itechart.com/
Offshore custom software development company iTechArt - Web site and
Content Management Solutions development, CMS consulting: Ektron,
Drupal and DotNetNuke
iTechArt Group provides high qualit
Hey All,
Is there a way in this group (or any other for that matter) to view
new messages first? I typically read the first post, then want to see
the last answer, and work backward. I know, crazy.
Brian
Brian,
>I would agree to some extent that it is not necessary to detect if
>JavaScript is disabled. However, there are an abundance of (I do hate
>saying this word) Web 2.0 sites in which it is impossible to use all
>the features unless JavaScript is fully functioning. Sometimes it is
>nice just
Great to hear. Your gallery is shaping up nicely. Great job.
I'm 99.9% sure that the w3c spec states that an ID cannot begin with a
number.
Brian
On Apr 21, 9:21 am, wyo <[EMAIL PROTECTED]> wrote:
> On 21 Apr., 15:12, Giant Jam Sandwich <[EMAIL PROTECTED]> wrote:> Try this
> instead:
>
> >
On 21 Apr., 15:12, Giant Jam Sandwich <[EMAIL PROTECTED]> wrote:
> Try this instead:
>
> for (var i in folders) {
> $('#f'+i).bind('click', function() {
> alert ($(this).attr("id"));
> });
> }
>
Perfect. Besides is it allowed to use just number as id's?
O. Wy
for (var i in folders) {
var b = '#f'+i;
alert (b);
$(b).bind('click', function() {
alert (b);
});
}
Try this instead:
for (var i in folders) {
$('#f'+i).bind('click', function() {
alert ($(this).attr("id"));
}
On 21 Apr., 14:52, Giant Jam Sandwich <[EMAIL PROTECTED]> wrote:
> Unless you need the unique ID for each paragraph, it might be easier
> to bind the click by the class name. jQuery will perform the foreach
> logic for you.
>
Well depending on which folder is clicked I'd like to switch to a
certai
Hi Felix,
Rick's original question didn't specify server side... I only skimmed
the messages thereafter, so that might have come out later in the
thread... me being lazy on a Saturday :)
@Dan
I would agree to some extent that it is not necessary to detect if
JavaScript is disabled. However, the
> The javascript part looks alright to me. Is there any data in the
> folders array on the client side when the script gets executed? Do you
> have a sample page online?
>
Yes, http://www.orpatec.ch/index.php?page=gallery.php
Is there a way to retrieve the id of the bound element?
O. Wyss
Hi wyo,
Unless you need the unique ID for each paragraph, it might be easier
to bind the click by the class name. jQuery will perform the foreach
logic for you.
... your PHP code ... then in the head of your document ...
$(function(){ // wait until the document is ready
$(".folder").click(fu
> Detecting if JavaScript is enabled is actually fairly
>straightforward.
> No need to make it so complicated.
>
>Well I think this thread is about how to detect if JS is enabled on the
>Server-side ; ). Your method of course is the way to go if all one needs is
>to display a msg to th
Detecting if JavaScript is enabled is actually fairly straightforward.
No need to make it so complicated.
Well I think this thread is about how to detect if JS is enabled on the
Server-side ; ). Your method of course is the way to go if all one needs
is to display a msg to the user.
-- Felix
Nathaniel,
>I can't quite get my head around this problem and would really
>appreciate some advice:
>
>I've got five select boxes, all with the same five options. I'd like
>to loop through each select and set it's value to each one of the
>options. I.e. the first select is pre-filled with option
Detecting if JavaScript is enabled is actually fairly straightforward.
No need to make it so complicated.
$(function(){
$("#is_disabled").css("display","none");
});
...
You have JavaScript disabled.
Dear SiCo,
I'm not sure what kind of error that you want to trigger.
But for XHR, usually, it is the errors that may cause between browser
and webserver.
If it is what you want, please refer to
http://en.wikipedia.org/wiki/List_of_HTTP_status_codes
Below code is what I'm using.
- It makes a cal
Makes perfect sense now, excellent.
Simon
Hi,
I've a problem with an ajax call only on mac systems. On windows and
linux works well.
In the systems with problem firebug displays that the post request
don't load.
I've used the last jquery and the forms plugin.
Here the script:
Thanks for any suggestion.