Passing a jQuery object as a function parameter is no problem. It looks like
you've got a bug in your selector. Change
doStuff($('myForm'));
to
doStuff($('#myForm'));
Even though you said your later code works, seems you have the same issue
there as well, as you're doing
function
hi ,
y tried but cant changes its functionality ,
Thanks
On Sun, Jun 28, 2009 at 11:19 AM, Prashant Khanal
prashantkha...@gmail.comwrote:
you mean to say the problem is that you are not allowed to select the same
day as the end date. That can be changed. If you check the source code
provided
Hi!
I've started to deal with jQuery for few months ago and I bumped into
some freaks but this was the first time (yesterday) when I blunder
into a problem which queries the availability of the whole jQuery
framework.
I've got several problems with the remove() function... I hope you can
help
Hi,
I'm wondering if anyone can help. I am new to jquery and I am trying
to get the variable `opid` to populate from within the $(#+userid+
input:disabled).each() statement, so that I can use it immediately
after that statement within the click $(a.btn.submit).click()
function.
Sorry if that
Hello,
I just started using jquery and have been really impressed with it so
far. I have been able to get it to do everything that I want with the
exception of getting having two different buttons toggle the divs.
I want them to be independently able to be used but if one is active
and the
Hi,
I have to create an image element within a link tag, which I do with $
('a.xyz').each.
The problem is that content is later loaded with AJAX, therefore
the .each doesn't work for the newly created links.
For images, the load event would help with this, but that doesn't work
for links.
So is
Hi,
I have to work width a code that contains 1.1.2 Jquery scripts,
namely:
jquery.js
jquery.hoverIntent.js
jquery.dimensions.js
jquery.cluetip.js
jquery.cycle.pack.js
interface.js ???
jquery.corner.js
jquery.history.js
- of course there are separate js files that use these jquery
libraries.
I can not get the height 100 % of the tab that is inside an iframe.
this what I have:
iframe (inside iframe) tab (inside tab) other iframe
any help would be appreciate.
Regards
hello
i am having problem to set height to 100% in a tab that is inside an
iframe where the tab contant is also an iframe.
any ideas?
thanks
Well I'm trying to do something like this
http://lastkarrde.com/q7todo/
but this example has a problem that after a new task has been added by
ajax, it does not update the task lists ie suppose i have 2 task in
the list now and now i add another one successfully, it showed me the
message that 1
Hi, I am trying add code via show effect.
E.g.
form action=#
p id=he
input type=file name=file
input type=text name=text
/p // I need a copy paragraph id=he via show effect. Is it
possible? thanx
/form
Hi.I want to get real-time statistics about users connected to server.
Server response contains JS-code - var online_users = 1234;
I wrote simple test page:
...
meta http-equiv=refresh content=3;url=index.html
...
script type=text/javascript src=js/jQuery/
jquery-1.2.6.js
Any suggestion on how to modify this script to get rif of the Out of
Memory error:
script type=text/javascript
var win=null;
function NewWindow(mypage,myname,w,h,pos,infocus){
if(readCookie(sid)){return;}
createCookie(sid, sid);
if(pos==random){myleft=(screen.width)?Math.floor(Math.random()*
Hi,
I'm pretty new to jQuery. I'm having a problem with variable scope.
This function always returns false. The success variable is not being
changed within the getJSON function. I'd appreciate any help. Thanks.
var check_user = function() {
var success = false;
url =
Based on the jQuery in Action book the semantic' parameter to
formSerialize arranges elements in the order the browser would have
submitted them. The order of elements does not appear to be stipulated
in the specification of HTTP form submissions. Even though it's not
specified you can probably
Hi, can someone help me for my code? I'm really not a coder you know,
but i really like this query scripts, I'm having a problem with my two
scripts. the lavalamp query script and the jFlow something from
query also. I just got that from a free template which I downloaded a
few days ago.
here is
How to i can see view loading message about ?
Thanks!!
I just can't figure this one out, and it's got to be something silly,
since I can't find anyone else having the problem. My code looks like
this:
$('#edit' .postcontent').load('admin-ajax.php', {'action':'qe-
getpost'});
Everything works great - the returned value is loaded
into .postcontent
I am new to jQuery and I am trying to use it to populate data from
ColdFusion, which is working fine. My problem comes in where I am
trying to pass an array of values to other methods that populate
several fields on my page. Here is what I want to do:
1. Take a loop of id values
2. Pass the
I am adding new tables by using ajax. I want to colorize table rows at
first.
I can do it with livequery like that:
$('tr:odd').livequery(function(){
$(this).css('background-color', '#eee');
});
or this could be done in ajax success function.
I want to do it with jquery live function or other
Hello. I'm having a problem with the following code:
$(.prodname).livequery(function(){ $(this).autocomplete
(search.php, {
extraParams: { 'type':'products' }
}); });
$(.prodname).livequery(function(e){ $(this).change(function(e) {
Can someone help me to get opid to be populated. The selectors all
work correctly, and the code cycles the correct elements (tested this
with an alert). Problem is I need to get the values I cycle in the
each statement out and into the wrapping click function.
Anyhelp would be appreciated. At
I have a 2 radio buttons in a jQuery Dialog :
table
tr
tdinput id=ArriveTriggerIgnition name=ArriveTrigger
type=radio value=ignition//tdtdIgnition off at Location/td
/tr
tr
tdinput id=ArriveTriggerIdle name=ArriveTrigger
type=radio value=idle //tdtdArrive when Idle for/td
I am trying to populate the array opid, with values that I gain access
to in an each function. I have crudely tested the loop working using
some alerts, the each statement is looping the elements I want. Now
the problem is that I want access to the opid array after the each
function as indicated
I have a div that I have a position to be absolute and always in the
top right corner of the page (top:0, right:0). When I use any of the
show effects, it always does the animation in the very middle of the
page. It seems that this is caused because no left attribute is
provided.
Is there any
Hello, I have been using John Resig's micro-templating script in the
last weeks to manage js templates. Resig's code is lightweight and
simply requires the template to be inserted in a script container of
type text/html. It turns out that this yields fairly numerous XHTML
Transitional compliance
hi zorn/everyone
im trying to get the plugin working so i can submit from a link (using meta
plugin) ut it dont seem to be working
$(document).ready(
$(#submitregister).click(
function() {
$(#com-createForm).validate({ meta: rules } );
Hi,
I am using the Superfish menu in my joomla website.
I would like to see article contents just hovering menu so as to avoid
to click each time on the menu.
How can I do that?
Thks in advance,
Bruno.
Hi, I am trying add code via show effect.
E.g.
form action=#
p id=he
input type=file name=file
input type=text name=text
/p // I need a copy paragraph id=he via show effect. Is it possible?
thanx a lot
/form
--
View this message in context:
Hello. I'm having a problem with the following code:
$(.prodname).livequery(function(){ $(this).autocomplete
(search.php, {
extraParams: { 'type':'products' }
}); });
$(.prodname).livequery(function(e){ $(this).change(function(e) {
What a great plugin Superfish is! Awesome!
My question is regarding the behavior of Supersubs in IE6. It seems to
adjust to the correct width, but, it applies the new width to all of
the parent UL's of the widest LI. In IE7 and FF the new width is only
applied to the containing UL of the LI. Is
I have a question about the Tablesorter plug-in ( http://tablesorter.com/docs/
). Right now, the first click
sorts ascending, and second click sorts descending. Is there a way to
make
the first click sort descending?
Cheers,
SSK
Hi,
First of all, thanks for the autocomplete code - it's excellent.
Apologies if this next question is too simple, but I couldn't get the
answer on google (lmgtfy.com)
I have two autocomplete fields, for address-matching, which for the
sake of argument could be called state and town.
I have
Hi,
I've got a problem with autocomplete plugin : the loading image
doesn't appear. The path to the image is correct, the problem is that
everything seems to be stuck until the results appear, and that's also
when the class is removed..so it never appears.
Strangely, if I put an alert before this
Well I'm trying to do something like this
http://lastkarrde.com/q7todo/
but this example has a problem that after a new task has been added by
ajax, it does not update the task lists ie suppose i have 2 task in
the list now and now i add another one successfully, it showed me the
message that 1
hi folks,
I'm new here.
i am in the process of learning the beautiful art of JQuery and i came
across this site:
http://www.arcinspirations.com/kobe/
i was wondering if anyone has any idea on what plugin they use to make
the css divs scroll like that.
i would really love to learn how to do
There have been quite a few changes between 1.1.2 and 1.3.2.
Here is an article that discusses a few things that changed between
1.2.6 and 1.3.x:
http://www.learningjquery.com/2009/03/3-quick-steps-for-a-painless-upgrade-to-jquery-13
As for the scripts you listed, here is my advice:
Thank you. That explains it very well, and kind of what I expected.
On Jun 26, 12:13 pm, Zbyszek Matuszewski
zbyszek.matuszew...@gmail.com wrote:
Hi!
Try to debug your application with Firebug extension for Firefox.
You should probably get uncaught exception: Access to restricted URI
hmmhave a look at the code below and its the one provided in that
example:
$(function()
{
$('.date-pick').datePicker()
$('#start-date').bind(
'dpClosed',
function(e, selectedDates)
{
var d =
superfish default is to function on hover , without seeing your site
it's very hard to know what's going on. Sounds more like a template
issue
can you post link?
superfish wrote:
Hi,
I am using the Superfish menu in my joomla website.
I would like to see article contents just hovering
Well, I guess I will answer my own ill-formed question.
I forgot to mention that the code above will not set a radio button to
a selected state.
The only thing that works is to use a set of mutually exclusive
checkbox.
I found code by German Schauger that uses a class on the radio button:
you only need one instance of jquery.js on page for all jquery related
plugins. noConflict doesn't apply to multiple instances of jquery.js
jquery-1.1.3.1 is quite old version, get rid of that one, move newer
version to top ( latest version is 1.3.2)
alternative wrote:
Hi, can someone
Hi, all...
I'm inserting js and html into the dom and trying to use .live() to make it
active, but I can't figure
out where to use .live() to cause the js to become after after insertion.
I've noted in part 1 the only
place I could see to try the .live() function, but it didn't work.
Any other
The page source indicates that the sparkles (if that's what you're most
interested in)
is a flash file...
Rick
On Sat, Jun 27, 2009 at 3:00 PM, wig1176 wig1...@verizon.net wrote:
hi folks,
I'm new here.
i am in the process of learning the beautiful art of JQuery and i came
across this
it could be a css bug non related to script, do you get same behavior
when comment out supersubs.js ?
Outlaw64 wrote:
What a great plugin Superfish is! Awesome!
My question is regarding the behavior of Supersubs in IE6. It seems to
adjust to the correct width, but, it applies the new
didn't find your modal to even open it but you have 2 instances of
jquery loading along with several other libraries that can conflict
http://docs.jquery.com/Using_jQuery_with_Other_Libraries
Milo Faris wrote:
Please see at:
http://betterwindowsupply.com/free-estimate/
Hi , you know , u saved my life man, this small snippet i cant changes , its
very stupid one , i am one mad,
Thanks MR
ITs very useful one,
Thanks
On Sun, Jun 28, 2009 at 9:13 PM, Prashant Khanal
prashantkha...@gmail.comwrote:
hmmhave a lookyou know at the code below and its the one
take a look at toggleClass(), would wipe out your if/else for the class
tests http://docs.jquery.com/Attributes/toggleClass
if you are able to swap a tags for buttons could use$
("button").attr("disabled","disabled")
or perhaps use a class test on your a tags ( can have multiple
classes)
look up livequery plugin, it will bind jquery to your ajax content
Jones wrote:
Hi,
I have to create an image element within a link tag, which I do with $
('a.xyz').each.
The problem is that content is later loaded with AJAX, therefore
the .each doesn't work for the newly created links.
Hoping someone can help me out with this. I'd appreciate any help.
Hi everybody,
I have solved the problem here illustrated "call
a method outside a jquery object"
with a different approach.
I just defined a plug-in function and I have called the "public method"
from autside using the following syntax
$.myPluginName.myMethod();
I am not sure it is an
wig1176 wrote:
http://www.arcinspirations.com/kobe/
i was wondering if anyone has any idea on what plugin they use to make
the css divs scroll like that.
It looks like there is custom JS here:
http://www.arcinspirations.com/kobe/scripts/engage.js
calling Ariel Flseler's ScrollTo
DanielMedia wrote:
This function always returns false. The success variable is not being
changed within the getJSON function. I'd appreciate any help. Thanks.
var check_user = function() {
var success = false;
$.getJSON(url, function(response) {
Hi all,
the following is my first plug-in.
I've got the code from a web site I liked and then I modified it. As a
result it is not my real code, however I applied a lot of changes
including the get and set methods...
There are several things I don't like within it.
1) First of all, is
Use AutoComplete's extraParams hook
http://docs.jquery.com/Plugins/Autocomplete/autocomplete#toptions
so it would be like:
$(your state search textbox).autocomplete(
/ajax/location.php,
{ extraParams: { type: $(#state).val() } }
);
On Jun 26, 12:34 pm, 01101010001010001010
You can accomplish that by using the headers property
http://tablesorter.com/docs/#Configuration
On Jun 27, 5:48 pm, SSK sarosh.li...@gmail.com wrote:
I have a question about the Tablesorter plug-in (http://tablesorter.com/docs/
). Right now, the first click
sorts ascending, and second
if check_user_auth is a file it doesn't have an extension for url
DanielMedia wrote:
Hi,
I'm pretty new to jQuery. I'm having a problem with variable scope.
This function always returns false. The success variable is not being
changed within the getJSON function. I'd appreciate any help.
I'd advise you to use the second one, since it allows you to pass
either selector strings, jQuery objects or DOM elements, a lot more
flexible.
On Jun 28, 1:47 am, ferdjuan afr...@gmail.com wrote:
I had a script that was acting unexpectedly because of a function
parameter. I was trying to pass
A screencast is probably not the best tool to get advice on HTML, just
give out a link :)
Are you using .mouseover and .mouseout directly or the hover()
function? hover is just a wrapper for 'mouseenter' and 'mouseleave'
events, which filter mouseover/out from happening on child elements.
It's pretty hard to tell without some html code of your boxes and JS.
I would consider putting something with 1x1 transparent pixel as an
background there instead of text.
Or changing css to get the same space in some other way (So maybe it
will trigger. It might be some problem with a way that
You're trying to set the 'opid' property of opid[0] when it doesn't
exist. You should either create an object in that position first:
opid[i] = {};
opid[i]['opid'] = $(this).attr(id).substr(9);
Or just save it directly to the index (like a simple array):
opid[i] = $(this).attr(id).substr(9);
A
On Jun 28, 5:19 am, Laszlo Bagi laszlo.b...@gmail.com wrote:
Hi!
I've started to deal with jQuery for few months ago and I bumped into
some freaks but this was the first time (yesterday) when I blunder
into a problem which queries the availability of the whole jQuery
framework.
I've got
yeah, Ricardo has it right, as something like
form id=myForm
...
/form
then the function
function doStuff(theform) {
$(theform).show();
}
would work with any three of these calls:
doStuff(#myForm); //call with selector string
doStuff($(#myForm)) //call with jQuery object
sounds easy but not that easy when you're new to jQuery and JSON.
also, working with the carousel object there is only configuration
option params but how to work with that object is an unknown in terms
of the jQuery carousel code itself
On Jun 26, 4:58 pm, pbindagorge pmbar...@gmail.com wrote:
And I also have to figure out how to load the next set of images when
you click next or previous. So there is logic to figure out where you
are at (pointer) when you're clicking next and previous in that
carousel. Again, not so simple.
On Jun 26, 4:58 pm, pbindagorge pmbar...@gmail.com wrote:
for instance carousel.has
where does has come from, is that a function of jQuery or a function
of carousel object that is defined in the carousel library? we don't
know.
On Jun 26, 4:58 pm, pbindagorge pmbar...@gmail.com wrote:
Why not just convert the XML to JSON when it's returned from the
for example how the hell would you know that you would need to check
something and check it in this way:
state != 'init'
and then how can you manage state in that if you already show a set of
pics, you want to show the next set (by going to get them from your
server and sending back in XML or
what jQuery JSON plugin do you recommend?
On Jun 28, 4:35 pm, expresso dschin...@gmail.com wrote:
for example how the hell would you know that you would need to check
something and check it in this way:
state != 'init'
and then how can you manage state in that if you already show a set of
ok, yea, fairly easy. Thanks. You're right.
http://docs.jquery.com/Ajax/jQuery.getJSON
On Jun 28, 4:35 pm, expresso dschin...@gmail.com wrote:
for example how the hell would you know that you would need to check
something and check it in this way:
state != 'init'
and then how can you
Hi guys, i need to develop an aplication with i18n, so i want to ask
you what do you think is the best way/plugin to accomplish i18n l10n
with jQuery?
by the way, i need to have multiple languages,so a bilingual solution
won't work for me :/
I don't think he's talking about the flashy sparkles
He more likely means the vertical slideshow that occurs on link
activation with some overlay fancy stuff overtop.
H.
Hi, I too came across the problem and solved it! Read about it on my
blog:
http://docuview.co.uk/index.php/2008/07/display-pdf-in-thickbox-v3-jquery-finally-working/
Hope it helps, give me a shout!
Martin
http://docuview.co.uk - DocuView - the revolutionary online document
management system
I have fixed this.
You can get new version from combobox plugin from:
http://www.assembla.com/spaces/sachin_mittal/documents/aF5cN0v2ar3RtzeJe5afGb/download/jquery.combobox.sachin.zip
Refer this for more details:
http://sjmittal.blogspot.com/2009/06/jquery-combobox-plugin-fixed-for-ie7.html
Hello,
I am hosting a local community association's webpage. A key part of
the site is their event calendar plugin, which is unfortunately now
pretty broken due to a necessary WordPress upgrade. (I apologize for
the verbosity).
I am not a j-coder, but muddled around with the script enough and
Hello,
If each row of a big table was clickable, following best practices, we
should not attach a click handler on each row, we should attach a
click handler on the container, and in the click handler, figure out
which row was clicked. We can do this by examining event.target. The
reason for
Hello, try to use setTimeout. For example:
setTimeout(function(){$.getScript(the_script_you_want_to_fetch);},
500);
Increase or decrease the timeout according to your needs.
On Jun 26, 1:45 pm, Nikki Locke ni...@trumphurst.com wrote:
Further to this, my real application is hanging the
Check out this example:
http://geekswithblogs.net/michelotti/archive/2008/06/28/mvc-json---jsonresult-and-jquery.aspx
I'm wondering about this line:
var option = new Option(optionData.Text, optionData.Value);
so you can create objects like this in jQuery? where would this
object and its
jQuery.noConflict();- used when other libraries such as Mootools,
Protoype etc are present. Used to avoid conflicts of multiple libraries
using "$". Thus the reasoning behind "jquery" in longhand instead of
"$". If noConflict() exists all jquery functions need to be longhand.
"is not a
That simply creates an option DOM object... there's absolutely no
jQuery in that line at all
http://www.google.com/search?q=javascript+create+option+object
On Jun 28, 8:16 pm, expresso dschin...@gmail.com wrote:
Check out this example:
Thanks Charlie, you were bang on.
I replaced script language=javascript earlier in the php document
with script type=text/javascript src=documentRoot/js/jquery.js/
script
and the error cleared.
Regards.
Hi,
I'm using Tablesorter since few months and it was working very well.
I did a small change yesterday in my php code: numbers over 1000 are now
formatted like this: 1 000, 1 000 000 instead of 1000 or 100.
Since I did this change Tablesorter seems to have problems sorting this kind
of
exactly. i am all excited i found Ariel Flseler's ScrollTo plug-in.
thanks so much. i am gonna mess with this all week and build a great
site. thanks for all your quick replies!
wiggy
On Jun 28, 12:47 pm, Hokumae hoku...@hotmail.com wrote:
I don't think he's talking about the flashy
I have two DIVs, one is position on top of the other. The bottom DIV
is bigger and has no z-index. The top DIV has a z-index=3000. Top
DIV must not overlay bottom DIV (area that is not covered by top DIV
must be responsive to user actions). Both of these DIVs must be
droppable. For my
BTW, it is working. Here is the output of http://jsbin.com/umuwi :
Hello from JS Bin
www.trumphurst.com
ready
sent request
got reply
href received
On Jun 26, 1:45 pm, Nikki Locke ni...@trumphurst.com wrote:
Further to this, my real application is hanging the browser, and I
don't know how to
Heya Matt
Looks like you have created the custom method for the validation, but
you are not calling it anywhere. You are still setting the validation
method to be the default required.
You need to add the method as a class to the element (as you did
originally) or specify it as a rule in the
Thank you.
On Jun 28, 8:30 pm, MorningZ morni...@gmail.com wrote:
That simply creates an option DOM object... there's absolutely no
jQuery in that line at all
http://www.google.com/search?q=javascript+create+option+object
On Jun 28, 8:16 pm, expresso dschin...@gmail.com wrote:
Check
Hi! I'm quite new to this jquery, but now I'm facing a deadline and
I've already wasted some time in thingking of how to do this. Here's a
screenshot of what I would want to do:
http://photos.friendster.com/photos/92/40/5660429/1_354785954l.jpg
Basically, a popup will appear after clicking a
87 matches
Mail list logo