Oops, you're right. I answered waseem's message without looking at the
OP.
On Jun 10, 6:00 pm, mkmanning wrote:
> I think the answers, though informative, have gotten off track. If you
> want to open a specific DIV based on the hash in the URL, just use:
>
> var div = window.location.hash;
>
> $
There must be an error somewhere else, your code works fine:
http://jsbin.com/uyiba
On Jun 10, 4:49 pm, Panman wrote:
> I know this is a easy fix, I'm doing something wrong...
>
> I've selected multiple tables and tried to use each for applying
> cornering to each table. Inside the callback func
The IFrame method seems to be very popular.
On Wed, Jun 10, 2009 at 9:46 PM, Boldewyn wrote:
>
> Hi,
>
> it's a security feature, that Javascript is not allowed to access
> local files let alone upload them to a server. That is, with
> Javascript you can't even access the value of an
> field.
I'd look at the autocomplete plugin here
http://github.com/ReinH/jquery-autocomplete/tree/master
and a decent write up here :
http://www.bigredswitch.com/blog/2008/11/jquery-autocomplete-plugin/
I used this tiny plugin as a kind of prototype when I wrote cascade.
Incidentally, I have a few fixe
Hi there. I have a page that loads two other pages in with load. In
one of the files there are two select lists, chained together using
the Cascade plugin. I have embedded the Cascade plugin in the page
that gets loaded. This works fine.
However, the first list contains upwards of 2200 items
I was asked to add gallery plugin to an existing website. I followed
every instruction in gallery plugin's website but I am confused at one
point. There are some codes, I need to add between .
There problem is, there are some codes there for other plugins
already. Can you please tell me where to
quick note of caution about this one:
$('label').text().substr(-1) === "F";
.substr() won't work with a negative index in IE6 and 7 (maybe 8,
too?). It'll return the full string. Use .slice(-1) instead.
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On J
Maybe this is the tutorial:
http://nettuts.com/tutorials/javascript-ajax/creating-a-filterable-portfolio-with-jquery/
- Jack
James wrote:
Hey all,
I am new to jquery. Managed so far to get a carousel up and going,
some tabbed interfaces etc. Nothing spectacular.
A week or so ago, I found
For the life of me I cannot figure out why $ can't be resolved. Wel,
yaeh I can, I did search the jQuery files and I could not find a
definition for $. I found _$ and _jQuery, but not the symbol "$"
without the "_". I shouldn't have to define this myself... what
gives?
cb
I have been using the ajaxForm plugin successfully for several months
and love it! I have a very strange situation. I am submitting the
form and the beforeSubmit and success callback functions are both
firing, however the form is not being submitted. I am watching for
the submit php file to com
I'm also looking for a solution to a similar problem I'm having.
I'm using Facebox to load modal popups. Then, using jquery, I'm
swaping before/after images when you hover over the image which is
loaded in the modal popup. Everything works fine except for the before/
after hover effect. This work
Hey all,
I am new to jquery. Managed so far to get a carousel up and going,
some tabbed interfaces etc. Nothing spectacular.
A week or so ago, I found a tutorial on how to build something like
this (http://jasonsantamaria.com/portfolio/) in jquery. Basically a
group of thumbnails, each given a c
Hello jQuery people!
I just started with jQuery and it's awesome. But im having some
trouble while building this php/jQuery chat. Thought you might be able
to help.
So, my idea was to build a chatt with php and jQuery, and guess what?
It works perfectly! But after hours of watching diffrent jQue
I have the following code (actually, this is stripped down for clarity
though the functionality is the same):
delete
$("#delete_item_2").click(function(e){
alert("before post");
$.post("/items/delete/2/");
alert("after post");
});
This works in IE and Safari bu
Awesome, thanks guys.
I haven't tested it yet, but a Twitter follower of mine added this
earlier, just for everyone's reference:
$('label').text().slice(-1)=="F"
Cheers again, I'll check all your examples out tomorrow.
L
On Jun 11, 12:23 am, mkmanning wrote:
> Here's a couple other ways:
>
>
this response refers to a specific use in a CMS, in this case Joomla.
Admin of a menu in a CMS has nothing to do with extensibility of the
markup or script functionality.
you can extend the markup virtually indefinitely without any css or
script mods by continuous nesting of UL's. Of course t
Hello Jeremy,
I don't know the limit, but the levels are created on the "menu item
manager". I just created a chain of menu and submenu items just by assigning
the "parent item". This is done in Joomla :
- Under Menu, select your menu. "Top menu" for example. The "menu item
manager" opens.
- Ther
Here's a couple other ways:
/F$/.test($('label').text());
or
$('label').text().substr(-1) === "F";
On Jun 10, 3:24 pm, ldexterldesign wrote:
> Easy guys,
>
> A B C D E F
>
> Anyone got any tips on how to find out if the last letter of my label
> is 'F'?
>
> Cheers,
> L
$(document).ready(function(){
var string = $.trim( $('label').text() )
var lastIndex = string.length - 1
if ( string.charAt(lastIndex) == "F" ) {
alert('BINGO!')
} else {
alert('FAIL!')
}
});
Maurício
-Mensagem Original-
De: ldexterldesign
Para: jQuery (En
I apologize ahead of time, im new to jQuery so please bear with me...
What im trying to do is print a link with a html relationship property
that would be generated dynamically.
var relvar = $('p.active').attr('rel');
$("div.test").html("hello");
$("p").click(fun
Cheers Liam. That makes sense, yea.
L
On May 19, 2:51 pm, Liam Byrne wrote:
> Browser can only do what they're told when combined with some basic
> facts and inbuilt assumptions.
>
> This was done in one of the jQuery libraries to recalculate the RGB
> colours from starting-colour to finishing-
Easy guys,
A B C D E F
Anyone got any tips on how to find out if the last letter of my label
is 'F'?
Cheers,
L
Yes valid markup rocks! I never thought of moving my form elements
around like I did so I thought posting my temporary solution might be
helpful to some. As I said temporary solution is the key phrase there.
I was able to get one of my buttons working as needed but am having
issues with my other
I just installed Superfish on my Joomla site but I don't understand
how to modify the code.
I read the FAQ page:
http://users.tpg.com.au/j_birch/plugins/superfish/#faq
and it recommends all these javascript things to download, they are
script/code/whatever you call it. I'm a total novice. I don'
I see a few post about this, but how does one extend Superfish to
accept a third level? In my experience it cuts is limited to two
submenus.
This is of course dependant on whether or not you can read in the xml file
via AJAX or some other means
cheers
Michael Lawson
Development Lead, Global Solutions, ibm.com
Phone: 1-276-206-8393
E-mail: mjlaw...@us.ibm.com
'Examine my teachings critically, as a gold assayer would test gold. If y
Absolutely!
The one area you can run into issues is with namespace prefixs, other than
that though you should be good to go. Just use selectors as you would
normally
data
>
to grab the data text from this you would say
$("node > book > author").text();
or you could just use $("author"
Can jquery be used to read/traverse a xml file?
I think the answers, though informative, have gotten off track. If you
want to open a specific DIV based on the hash in the URL, just use:
var div = window.location.hash;
$(div).show();
You should put the necessary checks to make sure there is in fact a
hash in the url, etc.
On Jun 10, 3:24 am
Hello,
I'm getting inconsistant results across browsers with the following
test:
test.html ===
http://www.w3.org/TR/html4/strict.dtd";>
http://ajax.googleapis.com/
ajax/libs/jquery/1.3/jquery.min.js">
var xml;
$.ajax({
type: "GET",
url: "data.xml",
jquer - 1.3.2
jqueryui - 1.7.1
On May 30, 3:01 am, Klaus Hartl wrote:
> Which version are you using? I've fixed a similiar bug (if not the
> same) bug a while ago...
>
> --Klaus
>
> On 28 Mai, 19:30, nextpulse wrote:
>
> > I have 3 tabs that each loads using ajax (via href).
> > The problem i
What I would like to have, is that once you have taken your mouse off
the sub menu that it remains visible for a couple of second before
disappearing.
I got it to work, but there's still an issues that I would fix. You
can see an example here -> [url]http://tijmensmit.com/dev/jquery/
menu.html[/u
There is a method in jQuery made specifically for that:
$('#content').load("/help/faq #107");
That's all. Notice the white space between the hash. It's not a
location hash anymore, but a selector that will filter the output. And
the URL has to be in your own site, ajax doesn't work cross-domain.
> Hi! I found this wonderfull
> plugin,http://www.malsup.com/jquery/cycle/int2.html
> I want to built something like "pager", in the link.
> I built it, but now I'd like to change something: i don't want a
> progressive numeration, but Id' like to define a different text or
> image customized, an
Has anyone tried to include a multi-select option with jQuery Finder?
I'm thinking of trying checkboxes and adding a method that returns the
selected items.
Hi,
it's a security feature, that Javascript is not allowed to access
local files let alone upload them to a server. That is, with
Javascript you can't even access the value of an
field.
But if you make up a form with an field, where
the user can choose a file, you can at least submit it via J
I know this is a easy fix, I'm doing something wrong...
I've selected multiple tables and tried to use each for applying
cornering to each table. Inside the callback function, I try to find
the first/last table cells to apply cornering for each corner.
However, when there are multiple tables it l
have you looked at the "even more advanced demos" on cycle site? If
ever there was a plugin with a large variety of examples Cycle is it!
You could at least find some examples that come close to what you want
and be more specific about what it is you are trying to do by
referencing them. Look
They all still rely on server side scripts though
On Wed, Jun 10, 2009 at 8:19 PM, James wrote:
>
> You can't upload files using AJAX (XHR), so using $.post cannot upload
> a file for you.
> There are workarounds to uploading files in an AJAX fashion mainly
> using Flash or hidden IFRAME.
> Just
You can't upload files using AJAX (XHR), so using $.post cannot upload
a file for you.
There are workarounds to uploading files in an AJAX fashion mainly
using Flash or hidden IFRAME.
Just do a search on it and you'll find plenty of articles and scripts
for it.
On Jun 10, 3:11 am, animafac wrote
Nowadays, the web is "2.0", so you can use a drag and drop system, which is
more ergonomic for your users.
Check the jquery-ui project ( http://jqueryui.com/ ), there are some example
that correspond exactly to your problem.
Pierre
2009/6/10 webspee...@gmail.com
>
> Hey all.
>
> I'm looking t
Hey all.
I'm looking to create a screen where there's a box on the left and a
box on the right. The left box contains names which can be moved to
the box on the right.
Between the two boxes will be two buttons, one labeled ">>" to move
from left to right and the other labeled "<<" to move from t
I've got a form using the jquery Validation plugin ( jQuery validation
plug-in 1.5.2)
What seems to be happening is that when the form hits a validation
error, the errorContainer seems to be listing all error messages/
labels, but it only highlights the Actual erring fields.
Say I have a requir
Hi All,
I want to Display a Tree using Rails. i want to know is it possible to
display a data in Tree form using a jquery and Rails
Regards,
Salil
Hi All,
I want to Display a Tree using Rails. earlier i diplay tree using
rails
& Dojo which works fine but as it takes too much time to load. Now i
want to create a Tree using pure rails or Rails and Javascript
libraries
other than Dojo say jQuery Tree.
I would also like to see any links
Hi,
I have done a fair bit of searching and can't quite find anything that
suits my issue :( I have been trying to make a gallery using the
cycle plugin's pager function within a jcarousel. I have managed to
get it working, without too much of a problem, except that the images
are pretty large,
Hi,
I'm using the Cycle plugin to rotate four images inside of a div. It
works beautifully in IE6, IE7, and Firefox. However, in Chrome and
Safari, none of the images rotate or hide themselves as they should -
all four of them can be seen stacked atop each other.
http://www.helpcomingyourway.org
Hello I am a beginner to jquery/javascript and I am trying to use a
script I saw online to replace the content of a div. However I would
like to have the script start with none of the target content showing.
So far it starts correctly however I am not sure how to test/filter
for ALL the divs in #c
In Safari 3.
Jcarousel seems to be creating an inline style for the width of the
that is not wide enough for the items contained in the .
This is causing the final to render below the other s, and it
is not showing up in the carousel.
Has anyone run into this bug? Is there a workaround or a
I have an Autocomplete on a form that uses local data. However, the
input allows users to enter values that are not in the local data
array. If the user enters and selects matching data the .result
callback function sets a corresponding key value that is submitted
with the form. The intent is to h
// sample of using a variable as a switch
var preventEvent = 0;
$.ajax({
url: "heavyAJAXCall.php",
success:function(html) {
preventEvent = 1;
}
});
if(preventEvent == 0) {
// do ajax
} else {
// do nothing
]
On Wed, Jun 10, 2009 at 6:53 PM, bob.nel...@gmail.com
wrote:
>
> Hey All,
>
> So I h
Hey All,
So I have a site that utilizes Ajax (via Jquery) alot with timed
interval events, etc. There are certain sections in the application
that pull in a LOT of data. Sometimes, if the user starts one of these
ajax heavy tasks, one (or more) of these timed ajax events might get
called.
I'd li
Ive been trying to troubleshoot this issue for a while to no avail.
Hoping one of the JQ ninja-angels can uncover the culprit.
What steps will reproduce the problem?
1. Use Safari (v4) - look at the file that is loaded into the iframe
via nyroModal, and it functions
correctly:
http://www.viewwe
Yes I have done that too. This is one of those "because it's there"
things. Also when I load the iframe via the src= the browser
interprets the xml (or at least Firefox does). To see the xml you have
to "View|Page Source".
Also, the behavior of src="atom.xml" and src="data:text/
xml;base64,"
I think that area is reserved for server side requests...not entirely sure.
On Wed, Jun 10, 2009 at 3:11 PM, animafac wrote:
>
> Hy,
>
> Sorry for my english but i'm frensh.
>
> I have a question and is it possible to get the value of upload file
> in a form with the $_FILES in php because in jq
do you mean extract a specific div from an external URL ?
if so this will work.
$.ajax({
URL : "http://www.domain.com/help/faq#107";,
success: function(html) {
var thediviwant = $("#topnav", html).html();
$("body").prepend(thediviwant);
}
});
On Wed, Jun 10, 2009 at 4:43 PM, deltaf wrote:
>
> C
Up !
I really need some help... Am I the only one experiencing such a
problem ?
I can't use IE6 for now... It's really paralyzing me because I work in
a professional environment.
Thank you all for your help !
On Jun 8, 12:18 pm, Lideln wrote:
> Hi,
>
> Thank you for that long answer !
>
> The
Good point Pierre!
Well noted. TKS.
Any others possible differences?
Maurício
-Mensagem Original-
De: Pierre Bellan
Para: jquery-en@googlegroups.com
Enviada em: quarta-feira, 10 de junho de 2009 13:25
Assunto: [jQuery] Re: :eq versus eq()
With the traversing method, you can
heres aplugin called JQuery logging
http://ajaxian.com/archives/jquery-logging
here is a link to JQuery console
http://code.google.com/p/jquery-console/
try this.
add a hyperlink with the class mylink
give it a click event like so
$("a.mylink").click(function() {
alert("random");
});
now rem
$("input").attr({ value:"" });
On Wed, Jun 10, 2009 at 5:17 AM, naz wrote:
>
> how can i clear the feilds in using jquery just like reset form in
> html.if anybody had any idea of that plz tel me
>
hello dears ,
how can i create tooltip or information ballon , and i controll it by set
html links and data
when user click on icon for example (?) will show this information ballon
and user can close this informaiont ballon
plz help me its urgent !!
--
Eng. Nader Dasuqi
Project Manager
+966533
With the traversing method, you can match a set of elements then select, for
example, the third one
$('.myclass,#myid').eq(2)
I didn't use the traversing method but i think that is one of possible usage
Pierre
2009/6/10 Maujor
>
>
> According jQuery documentation [1][2]
> :eq returns Array a
Hello,
I have an ajax call that I display dynamically in a div ($content).
$content
The results of $contents display in divisions
Feeds
Lorem ipsum dolor sit
amet,
consectetuer adipiscing elit. Lorem ipsum dolor sit amet, consectetuer
adipiscing elit
I actually managed to solve no.2.
Probably not the best or most efficient way, but i concatenated a
string from the imagename, imageurl and link url separated by a pipe &
double pipe.
I then sliced the returned string and stores the slices as the
appropriate variables.
I used these to show image,
Well, it's good to know it wasn't just me.
And glad to see that it's been fixed.
On Jun 10, 2:02 pm, Chris Scott wrote:
> On Jun 9, 9:10 pm, John Resig wrote:
>
> > It looks like it may have already been
> > fixed:https://bugzilla.mozilla.org/show_bug.cgi?id=496790
>
> I had the same problem
Okay, so it's simple, and it's not advised to mix libraries. However,
the documentation is still confusing as heck - just thought I'd like
someone know.
On Jun 5, 2:29 pm, Ricardo wrote:
> jQuery saves the '$' object on init, if it exists. noConflict()
> 'returns' it to the old owner. Passing tr
This week I updated my product to use jQuery 1.3.2 and I gave beta
testers a version to test. A couple Opera users reported that a frame-
related feature doesn't work in Opera 9.64 and Opera 10. The bug
described in ticket #3993 (http://dev.jquery.com/ticket/3993) seems to
explain the problem.
Ha
Hi! I found this wonderfull plugin, http://www.malsup.com/jquery/cycle/int2.html
I want to built something like "pager", in the link.
I built it, but now I'd like to change something: i don't want a
progressive numeration, but Id' like to define a different text or
image customized, and not the "1
Can you check the url during the ready() on the FAQ page and various
click() events within the page to create this effect?
On Jun 10, 6:24 am, Bennobo wrote:
> Can I teach jquery to open a specific by URL?
>
> Example:http://www.domain.com/help/faq#107
>
> The FAQ Entry with ID 107 should open
How's about:
var foo = $('#mylabel').attr('onclick');
On Jun 10, 4:32 am, "chudin...@gmail.com" wrote:
> My Label
>
> How to get the "myOnclickFunction()" _string_ with jQuery?
>
> JavaScript getAttribute("onclick") works fine, but I want to do it
> through jQuery.
According jQuery documentation [1][2]
:eq returns Array and eq() returns one jQuery object.
What does means "Array "? It is a single element?
By the other hand eq() => "Reduce the set of matched elements to a single
element."
So, both returns a single element and it seems to me that there isn't
Hi boys! Sorry for my english, I hope you understand me!
I have a gallery built using a mix of jquery and normal javascript
here: http://www.ivanisevic82.com/pages/modding.php
So, as you can see, when I'm hover a thumbinal imag (on the right) it
became "clear".
I'd like to keep it "clear" (=activ
Apparently it's the keypress event which is not registered through
Firefox, using keyup works well across all browsers, thanks for the
sample code. The fixed version is:
$(document).keyup(function(e) {
if (e.keyCode == 27 && popupStatus == 1) {
disablePopup();
}
});
On Jun 9, 5:10 pm, w
On Jun 9, 9:10 pm, John Resig wrote:
> It looks like it may have already been
> fixed:https://bugzilla.mozilla.org/show_bug.cgi?id=496790
I had the same problem (coincidentally, about the same time Benjam
posted his message) and can confirm that the latest nightly
(20090610032606) fixes this.
I have spent the last few hours playing with jCarousel and it looks
really impressive.
My javascript is still basic, but my php is ok.
Using the example dynamic_ajax_php.php as a guide, i created an array
from my recordset and generated a new xml file so that i can now
browse my own images dynami
Hy,
Sorry for my english but i'm frensh.
I have a question and is it possible to get the value of upload file
in a form with the $_FILES in php because in jquery we get the POST
value.
$.post("test.php",
{ name: "John", time: "2pm" },
function(data){
alert(data);
}
);
Thank for
Hi,
I've bee trying to understand the differences btwn the ajaxSubmit and
ajaxForm. I understand what the difference is but I cant write the
code to do what I want. It's fairly simple. I want:
A layer, where I have a log in form, to submit to file
(user_admin.php) page and, without refreshing th
Great plugin!
It would be nice if the plugin was functional at least in IE7
On Tue, Jun 9, 2009 at 22:48, Tony Landis wrote:
>
> I wrote a jQuery plugin "bullsEye" for that provides some
> visualization effects for large data tables, and would like any
> usability suggestions or bug reports. So
Can I make image vertical or horizontal flip by jQuery?
Hi,
I'm confused as to why you are trying to load XML into an iframe using
AJAX.
Why not just set src="atom.xml" and load the feed directly into the
iframe?
Paul
On Jun 9, 9:13 pm, barton wrote:
> I have been trying to insert xml into an iframe. I can do it kinda.
> The problem is the iframe ha
Can I teach jquery to open a specific by URL?
Example: http://www.domain.com/help/faq#107
The FAQ Entry with ID 107 should open immediatly when I go to this
URL. (show/hide)
Have a nice day!
Bennobo
Hi,
The API documentation shows how to select values -
http://www.fyneworks.com/jquery/star-rating/#tab-API
If you leave the value blank then the rating is cancelled.
$("[name='star1']").rating('select','')
It looks like you can also use the 'drain' command - but it's not
documented in the API.
$
I wrote a jQuery plugin "bullsEye" for that provides some
visualization effects for large data tables, and would like any
usability suggestions or bug reports. So far I have tested it in the
latest version Firefox, Safari, and Opera.
Description, download, live examples, and screenshots of the pl
I know this may be a stupid question but I am still unsure of the
answer -
Once you remove() a DOM element, are its event listeners still in
memory ?
Also, is there a way to monitor which event listeners have been added,
on the page?
i m creating a site and i want to include some prompt msgs.any one can
help me where should i place them?
I found the answer. The docs specify that 'Default selector "body>*"
always applies.', is outside of that.
On Jun 9, 6:57 pm, hannes wrote:
> Greetings,
>
> I'm trying to replace the of a page with the of another
> page.
>
> For example, inhttp://docs.jquery.com/Main_Page, I call
>
> $("head"
It's possible that you'll add an persistence feature to the async tree
in the nearest future?
first of all thanks for your gr8 plugins to add autocomplete feature
using jquery. but I am facing a problem to implement this in my
application. As in error console it is showing
syntext error
.ac_results {
and showing the list of probables as simple ul viwe (with b
Hello, i have a problem with the superfish, the problem appeared when
viewing in internet explorer 6, the submenu seems to display at the
back layer if it go through the button or textfield. how can i fix
this?
http://i6.photobucket.com/albums/y221/curseshadow/32.jpg
My Label
How to get the "myOnclickFunction()" _string_ with jQuery?
JavaScript getAttribute("onclick") works fine, but I want to do it
through jQuery.
how can i clear the feilds in using jquery just like reset form in
html.if anybody had any idea of that plz tel me
Thanks for the replies all. I ended up just having phpscript.php
return data like so:
response_currententry
Then javascript does another split on this returned data by an
underscore. It then checks item 0 of the new array (the response) and
depending upon what that response is, it will then take
Anyone knows an answer? :)
On Jun 9, 2:21 pm, "r1u0...@gmail.com" wrote:
> Hi,
>
> I'm developing with jQuery quite long right now, but recently I
> spotted one big problem with execution of jQuery code in Safari and
> Chrome. So everything is working fine in these browsers until jQuery
> code i
Hi
I would like to turn my code for http://www.2dnn.com/DragnDrop.aspx into a
plugin. Right now its just standard coding and .sortable.
So lets say i would like my plugin to have the name of igoogle and extend
sortable
Is there a good example somewhere or can someone paste some code here so I
ca
Thanks, that was the problem. :)
On Tue, Jun 9, 2009 at 7:40 PM, GaVrA wrote:
>
> You need to put jquery.js above all other .js's.
>
> On Jun 9, 2:58 pm, Masinov wrote:
> > I'm trying to use the autocomplete plugin for jQuery. I include all
> > the nessesart .js libraries such as bgiframe.js,
95 matches
Mail list logo