Does anybody know why in IE:
jQuery.css(e, background-color);jQuery.css(e, background-color);
Not works on a elementl like:
div class=directions rounded-big
/div
But will work with..
div id=directions class=rounded-big
/div
Hi,
You can use ajaxStart() and ajaxStop() to do this.
$(document).ajaxStart(function() {
//call your method to display loading message /(ex:) $
('#loadingmessage').show();
});
$(document).ajaxStop (function() {
//call your method to hide loading
Hello Mike,
Thanks for your reply.
The code works fine on localhost but when i upload it to
server, nothing happens, I think there is prob of Cross-domain
restrictions.
Do you know how to do this in php?
I mean convert csv file to javascript array/json?
regards,
Thanks a lot to all for helping me,
now i got why i was stuck. (Cross-domain restrictions)
regards,
Nitin Sawant
On May 21, 5:24 am, Michael Geary m...@mg.to wrote:
Hi Nitin,
Are you trying to do this conversion in JavaScript, or on your server?
Parsing a CSV file as simple as this one is
I can not load that web page...
Anybody knows if it´s a general issue ? or is my fault?
i need the scrollable plugin.. any optional plugin?
thanks.
Ok, thanks for the help people. I had to move the jquery.js into a
subdirectory and link from there, and it now seems to be working.
On May 16, 2:43 pm, Jim D nofxbassist1...@gmail.com wrote:
You can also check to see if $ is a function. If the jQuery script
loaded properly, that should
Not unexpected at all, as you're appending an element. The usual
script element behaviour is to run the script inside it. And it has
no display either.
You should probably use text() as Dave suggested, it will not
interpret the angled brackets - same result as if you used HTML
entities.
cheers,
I just googled around, hacked at my function, etc.
For some reason I ended up trying this solution (i.e. setting
thisStory inside the getJSON callback instead of using the thisStory =
getJSON() way., and it works ALMOST:
script type=text/javascript //![CDATA[
var
Hello,
how can I validate several textbox basing on selected combobox?
For example, having this combo:
select id=mySelect name=mySelect
option value=-1Please select/option
option value=1CA/option
option value=2PR/option
option value=3PROV/option
/select
I'd like to
Hi Shawn,
Native JS is capable of this sort of thing.
[snip]
HTH And I hope this is what you were after.
Thanks so much for your explanation. Now it works. :)
--
Massimiliano Marini - http://www.linuxtime.it/massimilianomarini/
It's easier to invent the future than to predict it. -- Alan
It's working in that way Jorn.
Thanks a lot.
Luigi
uncaught exception: [Exception... Cannot modify properties of a
WrappedNative nsresult: 0x80570034
(NS_ERROR_XPC_CANT_MODIFY_PROP_ON_WN) location: JS frame ::
chrome://global/content/bindings/autocomplete.xml ::
onxblpopuphiding :: line 834 data: no]
Line 0
I get this sometimes from I don't
ive been able to get the if variable to work as well only thing is it
doesn't respond to if the value is exactly the same and i want it to
use only the first number from the calculation only.
Script so far.
(function($){
$.fn.testwidth = function(){
var element = this;
A little adding: if I'd like to make required if the selected index is
*both* 1 and 2 (for example), how can I make it?
Luigi
Yes, thx
On May 21, 1:51 am, Michael Geary m...@mg.to wrote:
Hmm... I just tried a quick and dirty test and it seemed to work the way
you'd want.
I opened this page:
http://docs.jquery.com/Main_Page
And opened the Firebug console and entered these expressions in the console:
Hi can anyone tell me how to set the 'type' of an html form element
using jquery?
is there something like?
$(element).type(password);
Many Thanks
Ash
hi possibility that not work with
class
div class=directions rounded-big
/div
but work on id
div id=directions class=rounded-big
/div
...replace class with id
This might work:
$(document).ready(function() {
$(document).keyup(function(event) {
if (event.keyCode == 13) {
$(#myForm).submit();
}
})
});
hello Everybody
I am using the Jqgrid in my project.My question is , If there is no
record in a grid it should to collpased otherwise it will be expand.
how is it possible . please advise me.
Thanks
Mohamed
I'm using the latest version of jquery.validate.pack.js along with
jquery1.3.2. My form is in a very narrow column, so I have the labels
above the form elements, and want the errors to display beneath the
element. I've managed to accomplish this for FF3 and Safari - both
will push the rest of the
I'm not sure if toggle is the best way to approach this, but it is
what I am working with at the moment.
I am trying to create a dropdown tree that slide toggles open and
closed a div on click. An arrow image appears next to the click able
anchor that changes to point down when it is clicked. I
$('a[class*=myclass]') selects all a elements whose class attribute
contains 'myclass', how do I do the opposite?
$() returns an array with the resulting objects, since you only have
one you have to pick the first one:
var button = $(#%=b1.ClientID %)[0];
You can then change the text using the value property:
button.value = Yes;
The complete script will then be:
script type=text/javascript
Hi,
I have used the accessible new slider (by Reindel) in my project.
But i have observed an anomalously which im unable to understand.
When the page is loaded, and when i click next , the slides are
flying , i.e im not seeing the next set of products.
But, when u click a product and go back to
Hello, so here's my issue. I'm just the jquery.media plugin. With
multiple players being used for each mp3 link.
Is there a way I can setup a jquery call that knows to pause (or stop)
all other players once a user click on a new player?
I Guess it is easy because $.post join the array as querying string
but I read the jquery souce and not undestand
I'm using the jquery.media plugin. On the page i have it has 20 or so
flash elements to play each different mp3 files. Is there any way to
setup a jquery call so when you click play on the flash element it
pauses any other flash player running?
One way to do this is to use global events of jquery ajax, as below
$(#ajaxLoading).bind(ajaxSend, function(){
$(this).show();
}).bind(ajaxComplete, function(){
$(this).hide();
});
pls note this will show a loading message
I have the following code:
div id=test
div class=ajaxApplyIgnore
spana href=javascript:ajaxApplyAll(); class=Test1/a/
span
/div
div
spana href=/Logout class=Logout/a/span
/div
/div
script
var obj = $('test'); // used specific div, as this is in a huge
document
Hello sir,
i use asp.net 3.5 and i add thickbox and lightbox of jquery js on
my page. but light box is not working. so please tell me can it
possible to use both js on one webpage.
also need to know
2009/5/21 ash.finlay...@googlemail.com ash.finlay...@googlemail.com
Hi can anyone tell me how to set the 'type' of an html form element
using jquery?
is there something like?
$(element).type(password);
Many Thanks
Ash
--
Atenciosamente,
Rodrigo Matheus
Hello!
I think very simple question, but I am very new to jquery...
For example, I have the next code:
$('#info').hide();
$('a#show_hide_info').click(function(){
$('#info').toggle();
});
So when a user click on #show_hide_info, #info element become visible
Hi,
You can return a text input for a password input?
Example:
$(this).attr('type','password');
Has another way that works?
--
Atenciosamente,
Rodrigo Matheus
I am having a difficult time using the select method in the onInit
callback.
I am creating an array of items and then calling select as follows:
onInit: function(finderObj) {
var itemsToSelect = [href/item1, href/item2];
$(this).finder(select, itemsToSelect);
}
When this code is run, I
You won't be able to intercept the image before it is loaded but you can
block it from being rendered. Remember that JavaScript relies on the DOM.
The DOM isn't fully-defined for the page, until all of it has loaded. But
you can hide it by setting its visibilitiy to hidden, and keep the browser
I developed a fairly straightforward product filtering tool using Spry
and was curious if jQuery could do something similar and if so where I
might find an example.
The tool can be seen here:
http://www.bradygodwin.com/test/rnatoold.html
Thanks!
hello?
i want to use the asynchronous load tree,but the
jquery.treeview.async.js only supply
the root load tree by ajax(json),but i purpose that each node can load
children asynchronous,
what can i do? please help me~
Hello!
Sorry but i just started with Jquery and hereby ask for your
Support:
script type=text/javascript
$(document).ready(function() {
$('#desperation input[type=image]').attr('disabled', true).fadeTo
(fast, 0.10);
$('#1').attr('disabled', false).fadeTo(fast, 0.70);
});
$('#1').toggle(
Hello!
Sorry i´m a absolute beginner with JQuery, therefore this Question
may be somewhat trivial:
My Goal is to make input type= image buttons in a row. The first
one is activated. Once u click the first one it is checked AND the
next one must be activated.
the work i´ve done so far is:
somehting like...
$(.clicky).live(click, function(){
$(this).next().fadeIn(slow)
});
On May 21, 9:27 am, Rudolpho webmas...@freieberater.biz wrote:
Hello!
Sorry i´m a absolute beginner with JQuery, therefore this Question
may be somewhat trivial:
My Goal is to make input type= image
Hello list,
I am using the Cycle plug in by Mike Alsup (thank you for a great plug-
in).
I am using automatic auto-transitions with a pager to switch between
images. Everything works fine, however the a.activeSlide class doesn't
updates and switch to the current slide.
You can view the file
John...
The original intent was to render an img tag to the page which would load in
a subset of my desired data, specifically that which can easily be gotten
via interpretation of the user agent string and other items. That subset
would get added to the src of the image as URL key/value pairs.
sounds like you could jsut use an inline anchor, with the JS being
executed in the onclick event
On May 21, 8:11 am, Lacrima lacrima.ma...@gmail.com wrote:
Hello!
I think very simple question, but I am very new to jquery...
For example, I have the next code:
$('#info').hide();
Disregard this!!! it does work.
On May 21, 10:08 am, MVimmer mor.vim...@gmail.com wrote:
Hello list,
I am using the Cycle plug in by Mike Alsup (thank you for a great plug-
in).
I am using automatic auto-transitions with a pager to switch between
images. Everything works fine, however
Short answer, yes. You need to use jQuery in compatibility mode.
Long answer: why not just rewrite the lightbox class to thickbox and use
thickbox for both? Since thickbox is a clone of lightbox, they are similar
enough to swap out on the fly.
Good luck,
Dave
On Thu, May 21, 2009 at 9:41 AM,
The plugin does not provide support for keyboard nav. You'd have to
implement it yourself.
On May 20, 9:48 pm, runrunforest craigco...@gmail.com wrote:
In cycle plugin, ss there way to switch images by keyboard arrows
instead of clicking next, prev
Just to clarify; I have two slide shows using the cycle plugin. They
are both set to display using the same css. Only one should display at
a time, I want the page to load with one shown and the other hidden,
then after a link is clicked the slide shows should toggle to display
the
My current employer (Giva, Inc) has released another jQuery plug-in
today called the Marquee jQuery Plug-in. The jQuery Marquee plug-in
converts a list element (ul / or ol /) into an ESPN-style scrolling
marquee. Messages are scrolled in from top or bottom (based on the
yScroll option) and
I read through a lot of forums and finally found a hint so solve my
problem.. I try to upload some data ( an image ) to an external site
( works with an API Key and returns XML if Upload completed
correctly )..
The code of my script can be found here http://pastebin.com/m1489e027..
Can anybody
The type is an attribute. You can get it via the .attr() method:
var theType = $(#myInput).attr(type);
Setting the type is not supported across browsers. Rather, you'll have to
create a new input with the type you want. Ex:
$('input type=password').appendTo(form);
- Richard
On Thu, May 21,
Hi Ryan,
Thanks for reply!
I tried to use anchor, but it doesn't work:
$('#info').hide();
$('a#show_hide_info').click(function(){
$('#info').toggle();
});
a id=show_hide_info href=#fooShow/hide info/a
!-- a lot of html tags here --
div id = infoa name =
Brian said that JSON uses a key:value format, but it is really just a
shorthand for Javascript literals. Which means you can easily
represent ordered lists like CSV data as well:
[ [ 'c', 's', 'v' ], [ 'c', 's', 'v' ], ... ]
To get around the cross-domain restrictions and to solve your
bind keypress to a check for the charcode/keycode and if your
condition is met, pass the js to load the next img?
$(document).keypress(function (e) {
if (e.which == 32 ) {
/* advance scroller! */
}
});
( lots of interesting stuff on this sort of thing at --
If you're outputting it to a HTML page, then all of the characters
should be lt; and all of the characters should be gt;
That will prevent them from being actual SCRIPT tags.
L
Paul Tarjan wrote:
I don't want to execute it. I want to print it out to the html page so the
user knows how to
Hi - I'm looking for a way to validate a form with two buttons. The
first button will add the form's contents (if they're valid) to the
row of a table below the form. (Several rows can accumulate in the
table.) The second button will proceed to the next page if either 1)
there's valid content
$(window).keypress(function (e) {
if (e.which == 39 ) {
/* keypress right */
} elseif (e.which == 37 ) {
/* keypress left */
} else {
return false;
}
});
if you can't figure out how to advance the cycle on your own, maybe
try to simulate $('#scrollLeft').click()
On May 21,
The code works fine here (apart from the security issue).
I can't understand how or why you'd convert a two-dimensional array to a
single one, though.
Are you SURE that the page that you're testing has the second comma in
the following line ? Your original post didn't
Ok,
http://mid-awe.com/webs/presidential/index.html
I'm noticing also now that an additional #s2 slide show is missing
from the initial page load. I'll look at that to see if the issues are
related. Any help is greatly appreciated.
Can you post a link to your test page?
could you give some further tip, how can I simulate, where should I
put the code to (document.ready part ?).
On May 21, 10:28 pm, ryan.j ryan.joyce...@googlemail.com wrote:
$(window).keypress(function (e) {
if (e.which == 39 ) {
/* keypress right */
} elseif (e.which == 37 ) {
cool! I will try that is it possible to call it in just one line?
On May 18, 6:55 pm, Richard D. Worth rdwo...@gmail.com wrote:
You can only call .dialog({ width: XX, height: YY }) once. That's an init.
After that you can change the width and height by calling dialog's option
method,
yeah, stick this in document ready.
to simulate the click, get the id of element you'd normally click to
advance the scroller (inspect it with the mozilla plugin firebug) and
append .click()
On May 21, 4:45 pm, runrunforest craigco...@gmail.com wrote:
could you give some further tip, how can I
Sasha wrote:
What I'm trying to figure out is if I can turn off the validator for
the 2nd button when I add a row to the table, while keeping it active
for the 1st one.
To do this you remove the metadata from the form element which you don't
want to validate.
e.g. if you have a required
Very nice design.
I've been looking for a grid plugin for ages and not found anything
that comes close to this.
Do you plan to continue developing this? I'm sure there are a lot of
developers looking for this kind of grid
Thanks for your work Michael,
Douglas
On Mar 31, 1:02 am, Tin
less than zero wrote:
...
the problem I'm coming up against is when the mouseover/mouseout events
are triggered. I've set the events to be triggered from the gallery
container, but it seems like the mouse events are called everytime the
cursor goes over any of the images within the
I was looking for a jQuery slideshow that worked the way I wanted and
didn't find one. I figured you can never have too many slideshow
plugins so I've tried to make my first jQuery plugin and was hoping
people with a bit more jQuery experience could look it over and give
some suggestions before I
great plug-in interesting..
OK, so now I have a new method of going about things and I'm so nearly
there, but can't get it working. I'm using this piece of Javascript
modified from a d'bug post
http://itiz.in/12u7
If I remove the medium from the mix, I get an alert box with all
three image URLs, no spaces. If I add medium
I do plan on continuing to develop it - the last month has been really
slow since I had little spare time to spend on it.
On May 21, 8:47 am, dcam dougie.came...@googlemail.com wrote:
Very nice design.
I've been looking for a grid plugin for ages and not found anything
that comes close to
On May 11, 6:25 am, less than zero rich.la...@gmail.com wrote:
... the problem
I'm coming up against is when the mouseover/mouseout events are triggered.
I've set the events to be triggered from the gallery container, but it seems
like the mouse events are called everytime the cursor goes
have you tried .height() instead of .attr('height') ?
this method sjould handle crossbrowsing issues!
On May 20, 11:53 pm, nabrown78 nabrow...@gmail.com wrote:
Just to note, maybe the problem is related to document.ready firing
too early within iframe :
Hmm... This is weird... I posted a reply at 3PM yesterday and it doesn't
look like it made it onto the group. (You didn't see it, did you?) So here
goes again, with some additional notes this time...
The problem is really much easier than all this. There's no reason to use a
lazy load plugin,
Yup
$(#myDiv).dialog(option, { width: newXX, height: newYY });
- Richard
On Thu, May 21, 2009 at 11:46 AM, c.sokun chornso...@gmail.com wrote:
cool! I will try that is it possible to call it in just one line?
On May 18, 6:55 pm, Richard D. Worth rdwo...@gmail.com wrote:
You can only call
*= in attribute selectors is useful for when something contains a string. If
you explicitly want anchors with a named class, select by the class instead,
e.g. $(a.myclass). If you wanted anchors that did not have a specific
class, $(a:not(.myclass)). If you explicitly want all anchors where the
$(test) should be $(#test).
aquaone
On Wed, May 20, 2009 at 17:44, sean shaha...@gmail.com wrote:
I have the following code:
div id=test
div class=ajaxApplyIgnore
spana href=javascript:ajaxApplyAll(); class=Test1/a/
span
/div
div
spana href=/Logout class=Logout/a/span
I know of two possibilities off the top of my head.
The first is a shameless plug for my own plugin still in development:
http://c3p0.reverse.net/~aquaone/tablefilter/http://c3p0.reverse.net/%7Eaquaone/tablefilter/.
Check it out and let me know if it would meet your requirements.
The second would
Ken,
In the future, please try to avoid posting the same question to
multiple google groups. Here is the answer I gave you on jquery-dev:
There were a number of changes between 1.1.4 and 1.2.x. Your best bet
is to check the Release Notes, particularly these:
In case it still isn't fast enough, you might want to give this a read:
http://www.learningjquery.com/2008/10/1-way-to-avoid-the-flash-of-unstyled-content
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On May 20, 2009, at 11:41 PM, Mech7 wrote:
Ah i found
There was no need to use find()
$(function() {
});
would be required from jquery
(.myclass, obj) is select my class from within my object ( no need to use
.find() )
script
$(function() { // you need this
var obj = (#test); // object refference
$(.ajaxApplyIgnore , obj).addClass(red); // select
I did not see your response Michael...bummer. It might have changed our
approach. Regardless we've got the desired functionality in place already.
Thanks for your time.
andy
_
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Michael Geary
Sent:
nice work stefan, i checked out the example and will look under the covers
sometime tonight. I'm actually at the library of congress (i work here) so
it was great to see those images from our prints and photographs division.
On Thu, May 21, 2009 at 12:01 PM, Stefan Hayden alt...@gmail.com wrote:
What do you mean refresh span ?
You can reset the content of a particular SPAN using
$(spanReference).html(NEW CONTENT) or $(spanReference).text(NEW CONTENT)
But unless you've changed the content of the SPAN (using one of the
above, in which case you already know it), what's there to
Ok - so far i got it to work. The reason why the things didnt
work was because the functions weren´t loaded on (document).ready.
One solved next problem comes... i want it that way, once next
button in row is activated the previous shouldnt work any more until
the next one is
You have to love the public domain.
Thanks again and I look forward to your feedback.
Stefan
On May 21, 2:49 pm, chris thatcher thatcher.christop...@gmail.com
wrote:
nice work stefan, i checked out the example and will look under the covers
sometime tonight. I'm actually at the library of
After a badly needed pause of some length, my need for sophisticated
JavaScript has reemerged. During my departure I have discovered two
other similar JavaScript modules called MooTools and Prototype. With
my reemergence I have also realized that all of these require a
certain amount of
ps: strange behaviour can be seen live here:
http://www.les-elites.org/index.php?article_id=126clang=0
I'm trying out this need extension:
http://binarykitten.jkrswebsolutions.co.uk/2009/01/21/jquery-plugin-ajax-head-request/comment-page-1
which allows jQuery to do a HEAD request on an arbitrary URL in order
to grab header values for a given page. Unfortunately, if that page
is the page the
Are all jquery plugins available under GPL and MIT licenses? My
company requries me to provide a URL which describes the licensing of
any open source code we use. I have links to JQuery's licensing, but
I want to use ClueTip plugin and can't find any specific licensing
informaitno.
Maybe I'm wrong, but I think
myElement.animate( {padding: 12px} )
won't work anyway ? Shouldn't it be
myElement.animate( {padding: 12} )
That said, tests here show that only IE Opera offer a smooth animation
- the others (FF, Chrome Safari) seem to jump
L
Jason
jQuery, prototype, and MooTools all provide very good to excellent FAQs and
documentation on their respective websites.
Barring that, why not just mock up some simple interface (say, something
with an accordion interface, making an AJAX call to a static HTML file to
replace some content) and try
Hi guys, thanks for your replies.
I tried the binding but looks like it doesn't work but ajaxStart-
ajaxStop works just fine so I will go with it.
Have a nice day!
Sig
On May 20, 9:00 pm, gk gineshku...@gmail.com wrote:
One way to do this is to use global events of jquery ajax, as below
On Thu, May 21, 2009 at 12:15 PM, doddstr13 doddst...@gmail.com wrote:
Are all jquery plugins available under GPL and MIT licenses?
No. Each plugin author can choose their own license.
My
company requries me to provide a URL which describes the licensing of
any open source code we use.
I need to simupate AS/400 keybord work...
I need to be able to do when a key is pressed, to delete all text from
the position of the pointer (which means that if I am in the middle of
the word then cut the right part of it) and to move to the next input
field.
How can I do that?
To get the effect I want, I've had to patch the jquery validate
library. Is there a simpler method instead?
Problem:
I want my error label element to have two classes, and for it's
distant parent to have a class, so I do some tweaking to the label
argument of the errorPlacement option.
When
Hi all!
I'm facing a problem, and it seems very unlogical that it doesn't
work.
I've written a function to switch some images on a clients website. It
takes images from an array, and displays them with some nice fades.
Now I'm trying to fetch these images using AJAX, initially from a text
file,
Hi, all..
I need to change a keycode of triggered event...
What I need to do, is when a user pressing right + key on the numpud,
I need it to be TAB instead...
Since I cannt know when on the screen he will do it, I cannt use
itaration of elements... I cannt know what will be the next
On May 21, 12:23 pm, David Meiser dmei...@gmail.com wrote:
If you can't bear that thought, just *choose* one. None of my friends were
using jQuery when I started using it (now I've converted all of them), but I
read an article saying that it was going to be included in ASP.NET MVC and
VS
All 3 frameworks have pros and cons. They have many technical
similarities and each come with their own set of problems. If you can
avoid using a framework, always do that. But if the pros of using a
framework outweigh the cons, I think the decision mostly comes down to
popularity.
Choose the
I use three or four jquery plugins for a site. What's the best
practice in loading all of these files and how much does it slow down
an app? Do you reference them from another file to keep the page code
clean? Just a couple of questions to find out about . . . .
Thanks,
Rich
That works, yes, but it would create a new jQuery object, defeating much of
the purpose of him creating 'obj' in the first place (memory and processing
time of creating new jQuery object).
As an aside, many devs find it useful to prefix vars for jQuery objects with
$.
e.g. var $obj = $(#test);
http://developer.yahoo.com/performance/rules.html
^^ highly recommended reading.
aquaone
On Thu, May 21, 2009 at 13:10, Donkeybob rip...@gmail.com wrote:
I use three or four jquery plugins for a site. What's the best
practice in loading all of these files and how much does it slow down
an
1 - 100 of 131 matches
Mail list logo