Thanks very much to all who've been thinking about this problem.
@Michael, James: I've been working all morning to reproduce my
problem in code I can post, but I'm coming up empty. In fact, when my
app talks to a remote database I see no problems. I only see the
glitch when my app talks to a
On Oct 12, 11:56 pm, Michael Geary m...@mg.to wrote:
This doesn't make any sense.
I agree!
You have a script tag that loads jQuery:
script src=/Scripts/jquery-1.3.2.min.js type=text/javascript/script
The GET that the browser issues for this script tag will not have a query
string. The
On Tue, Oct 13, 2009 at 11:14 AM, Bob baconeater...@gmail.com wrote:
It's in the definition for the ajax function. When I set { cache:
false } in ajaxOptions, I get timestamps added to the end of my XHRs.
That makes sense. However, I still don't know why timestamps are
added to jQuery
I'm troubleshooting a page display glitch involving jQuery AJAX.
When the glitch happens, Fiddler shows the following as one of the
requests:
GET /Scripts/jquery-1.3.2.min.js?_=1255309685187
Normally, the request has no query string and the response status code
is 304:
GET
@ace: I tried passing ajaxOptions: { cache: false} to jQuery-UI
Tabs and I think that did the trick! Is that what you were talking
about? I struggled with this for far longer than I care to admit.
Muchas gracias.
Fiddler now shows a similar timestamp query string appended to my
XHR. I guess
@Michael: I just pull the scripts in like this:
script src=/Scripts/jquery-1.3.2.min.js type=text/javascript/
script
script src=/Scripts/jquery-ui-1.7.2.custom.min.js type=text/
javascript/script
@ace: Which cache option is that?
Bob
I have jQuery UI Tabs which load their content via AJAX. About once
every 15 times when the entire page is loaded (not just XHR), things
fail and I don't see the proper content in the tab. The jQuery
executes without error, but the page display is wrong.
Fiddler showed me that when things fail
Interesting discovery. Going back to the code that works, if I alert is
(':checked') in the working code, it also returns false ALWAYS, but
it still works.
Still looking for a solution.
Thanks for the link MorningZ
I obviously have issues elsewhere in my code, but I can't paste my
entire site here.
I'm looking for suggestions on what MIGHT be causing this since there
is no obvious error at the moment.
On Oct 1, 11:39 am, Bob bob.nel...@gmail.com wrote:
Interesting discovery
.
On Oct 1, 8:53 am, Bob bob.nel...@gmail.com wrote:
Thanks for the link MorningZ
I obviously have issues elsewhere in my code, but I can't paste my
entire site here.
I'm looking for suggestions on what MIGHT be causing this since there
is no obvious error at the moment.
On Oct 1, 11
On Aug 6, 8:56 am, mila mshneyder...@gmail.com wrote:
$(#myTable).tablesorter();
$(#myTable).tablesorter(); // had to do that twice for column
sorting to work in both directions
Thanks for mentioning this! I was going crazy seeing this behavior
and couldn't figure it out.
To all:
I have created a plugin that handles International numeric formatting
on the fly by using a Reg Expression. Before I release this I would
appreciate comments and suggestions for improvements.
Demo can be viewed here http://decorplanit.com/plugin/index.htm
Thanks in advance.
Bob
) {
// If form validation failed we return false to stop Form submit
if (!valid) {
return false;
}
}
// Define
jQuery(#form).validate(validationOptions);
jQuery('#form').ajaxForm(formOptions);
Hope this is helpful.
kind regards
bob
I have a pretty simple character counter to count the number of
character typed by a user..
broadcastSubmit = $('#broadcastSubmitButton');
broadCastMessageDiv = $('#broadcastMessage');
availableChars = 140;
charCount = $('.char_count');
boilerPlateKeyword =
My code runs great in every browser but IE6 IE7 and IE8. it breaks and
causes all scripts to fail.
i setup Visual Web Developer in my VM like a blog post told me, and
when i load the page i get
Microsoft JScript runtime error: Object doesn't support this property
or method
that seem to break
to the front e.g. var login_box = ... or you
can change the name of the variable itself. my_login_box etc...
from the man himself. hopefully this helps anyone who comes across the
same problem..
On May 27, 7:44 pm, Bob O sngndn...@gmail.com wrote:
My code runs great in every browser but IE6 IE7
Jörn
On Fri, May 22, 2009 at 10:15 PM, Bob O bhan...@hcinsight.com wrote:
so as not to confuse..
the name attribute looks like this
name=name['name'] for the input field
and the js is
rules: {
name['name']: 'required'
}
i noticed typos in the above question.
On May 22, 12
look at the jQuery validation plugin.. its pretty slick.
On May 22, 4:06 am, gladrinkz gladri...@gmail.com wrote:
is ant one know how can i set email validation in jquery i am
using .net
so as not to confuse..
the name attribute looks like this
name=name['name'] for the input field
and the js is
rules: {
name['name']: 'required'
}
i noticed typos in the above question.
On May 22, 12:36 pm, bhan...@hcinsight.com bhan...@hcinsight.com
wrote:
Can anyone tell me how i can
I have a very simple piece of code.
$(document).ready(function() {
// var url = location.pathname;
alert(url);
});
When im on my home page it alerts the pathname like it should. but
when i navigate to the next page the alert does not fire
the firebug dom shows the new pathname..but the
also in my code the line is not commented out...
I accidentally pasted that in there..
On Apr 15, 10:45 am, Bob O sngndn...@gmail.com wrote:
I have a very simple piece of code.
$(document).ready(function() {
// var url = location.pathname;
alert(url);
});
When im on my home page
nevermind...i found the problem.
On Apr 15, 10:46 am, Bob O sngndn...@gmail.com wrote:
also in my code the line is not commented out...
I accidentally pasted that in there..
On Apr 15, 10:45 am, Bob O sngndn...@gmail.com wrote:
I have a very simple piece of code.
$(document).ready
Nobody knows?
Hi,
Does anybody know how to trigger timeout function.
If database does not respond in 5 seconds
I need to display some notification to user.
The following example did not trigger any callback after 5 seconds.
jQuery.ajax({
type: POST,
url: 'proccess.php',
Hi,
form
Name: input type=text id=my_name name=my_name
/form
Is it possible to tell apart focus event?
jQuery(#my_name).focus(function (evt) {
if( ??? ){
//execute this if focus was triggered by user clicking on the
text
field
}
else {
I have a YUI datatable that im live filtering from a text field. The
problem im having is when i get a lot of records, its really slow..Ive
only been using jQuery for a few months now, so im a bit of a noob.
Any help refactoring this to make it run smoother would be great.
**HTML**
**search
content for hidden_el is loaded by Ajax from random source
so the height of that element is not known up front.
I would like to use animation function to show element(expand) on
mouseover.
How do I find out the height of that element(final height for
animation purposes)
when content is already
How is it that I get false for the following?
Shouldn't I get true as a result? if not, why?
div id=home/div
$(document).ready(function(){
var one = $('#home');
console.log('compararison: ' + (one == $('#home')) ); // false !!!
});
How do I compare jQuery objects?
Well, that did not help much
So what is the problem then? Why do I get false?
How do I get true value?
I was wondering if anyone could point me to a tutorial or blog where i
can accomplish this task.
Basically i have a YUI datatable and i want to use jQuery to hide all
but a user generated number of rows that are random selected
so if i had 50 records in the table and the user input 10 in a text
In jcarousel 0.2.3, in the reload() funtion, on line 269, there is
this code to compute the dimensions of the li's:
$('li', this.list).each(function(i) { ...
but won't that compute the dimensions of all li's in the document? It
should only be recomputing the dimensions of the child li's and
Oops - I wasn't aware that the second parameter was the context - I
was reading this as if both parameters were inside the quotes. Please
ignore this note.
I just lost a lot of time on this, so I'm posting it here to hopefully
save others from the same fate.
You cannot create jCarousels when they are not visible. The code that
computes the dimensions uses offsetWidth and offsetHeight, which only
work for visible elements. I had several tabs that
of $(document).ready
for this portion of the code and I suspect tying into the existing
structure might be a challenge.
Would appreciate some guidance here on working with both from anyone
with experience in this area or a reference to a resource or tutorial.
bob
Im a little new to the plugin myself, but do you have a form
id=myFormwrapping your inputs?
On Feb 24, 10:34 am, kathb4 kat...@googlemail.com wrote:
I am trying to use the validation plugin to validate a set of
checkboxes which are created by my CMS (drupal) so are not changeable
- and
Hello,
Ive been using the Validation plugin on my site and it works
fantastic. i have run into an issue with trying to get it to perform
validation on a form that resides in a facebox.
I setup the validation the same as any other form in the site. what
could i be missing?
So im stumped..I have my jquery file in the headers, and it works in
Opera, Safari, FF on mac, and FF on Windows, but i get nothing in
IE..its there, its just broken.
i recently added the validation plugin?
could there be something im missing?
that could be
faulting..
On Feb 24, 12:35 pm, Bob O sngndn...@gmail.com wrote:
So im stumped..I have my jquery file in the headers, and it works in
Opera, Safari, FF on mac, and FF on Windows, but i get nothing in
IE..its there, its just broken.
i recently added the validation plugin?
could
must provide a start date.
}
endDate: {
required: You must provide an end date.
}
}
On Feb 24, 10:59 am, Bob O sngndn...@gmail.com wrote:
sorry..new to the group thing here as well...
i have narrowed it down to this piece of code
Hi Jack,
Yes, I'll try to give it a try ASAP (I have a release of my own due on
Wednesday, so I'll do my best).
Cheers,
Bob
On 23-Feb-09, at 1:19 PM, Jack Killpatrick wrote:
Bob, I have a new rev of listnav (hoping to release this week). Do
you want to try this rev and see what happens
Hi,
I am trying to create a simple dropdown.
The problem I have is that I do not know how to close the dropdown.
It is supposed to close when user clicks on id=btn or anywhere
outside of dropdown.
That's what I tried but close does not work.
html
body
div id=wrapper
div
hello,
Im trying to figure out a better way to do this. it works but its very
sluggish, so i think theyre might be a better way to iterate?
i have an input field = .searchbox
and then i have a YUI datatable that contains about 65 rows.
when i start to type in the search field, it iterates over
Hi,
What is the best way to access a field in a form when I already have
an jQuery object referencing form.
function myFunction(formName, fieldName){
var formjQueryObject = jQuery('#'+formName);
var formField = jQuery(#+formName+ [name=' + fieldName +
']);
or can I somehow
() (now.getTime() - (14*24*60*60*1000))) {
$(this).addClass('highlight');
}
});
});
Bob O-2 wrote:
Can any one point me in the right direction for my issue.
I have a div with a text value pulled in from a database 01/01/2009
Im trying to write a javascript that can take
Can any one point me in the right direction for my issue.
I have a div with a text value pulled in from a database 01/01/2009
Im trying to write a javascript that can take that value and compare
it against new Date();
$(document).ready(function() {
now = new Date();
lastActivityDivs =
Hi,
How do I get action attribute from the following form if I know id and
name values.
form name=myForm id=myForm method=post action=register.php
onsubmit=return false;
I tried those and it did not work:
$(form[name=myForm]).attr('action');
$(#myForm).attr('action');
Sorry. Works now. I have mistyped action=register.php.
So below i have my code example.
Basically when a user loads this page depending on the type of
campaign this is, I want jQuery to show the proper Sub Form Piece. I
can get the alert() outside the if else to fire, but nothing inside
the if else fires, which leads me to believe that I might have
Thanks everybody,
to Eric Garside : I have tried jQuery Automatic Script Includer
and it does not download scripts for me. Are there any known issues
that I should be aware of?
I placed this code inside of jquery.js right at the end.
(function($){
var scripts = /\?(.*)/, files = [],
I think the following line is the problem
files = files.concat($.map(src.match(scripts).pop().split(','),
function(e,i){
count = files.length;
// gives me 0 or undefined
Thanks,
Can't closure be achieved with for loop?
for(var i=0; iscripts.length; i++){
My concern is:
Does
$.each
process the scripts array items in the exact order they are in the
array?
jQuery('form[name=myForm]').bind('submit', validateForm);
jQuery('#login').bind('focus', validateForm);
jQuery('#blur').bind('blur', validateForm);
Problem: when I click login text field and then Submit button
what happens is that instead of
alert('submit');
I get
alert('blur');
What can I do
Hi,
How can access index i inside of complete method?
The following gives me just the last value of i.
var scripts = ['script1.js', 'script2.js'];
for(var i=0; iscripts.length; i++){
jQuery.ajax({
dataType: 'script',
url: scripts[i],
Yes, it does. Many thanks!
On Jan 25, 4:55 am, Joel Birch joeldbi...@gmail.com wrote:
Hi Bob,
To add two multiple classes to one element, you put them both within
the one class attribute and separate them with a space, like so:
ul class=sf-menu sf-navbar ... /ul
Hope this clears it up
someone please help me with this? I can't even get a basic
navbar to run.
Many thanks,
Bob
Hi,
Is it possible to hide all select form elements without using id or
class atributes?
select
option value=''/option
option value='AL'Alabama/option
option value='AK'Alaska/option
select ...
jq(:select).hide(); // DOES NOT HIDE ANY SELECT ELEMENTS
Hi,
How do i get nod names in for loop based on fields id?
var serverVals = {
'firstName':'John', //
'city':'NY',
'state':6,
'gender':1,
};
input type=text name=firstName id=firstName
select id=state name=state
option value='AL'Alabama/option
Hi,
form name=myForm id=myForm method=post onsubmit=return false;
input type=submit id=myFormSubmit value=Submit/
$('#myFormSubmit').bind('click', validateForm);
validateForm = function(event){
if(???=='form'){
alert('form validation processing');
Hi,
What does this inside of
$('.test').click(function() {
refer to?
script type=text/javascript
$(document).ready(function() {
$('.test').click(function() {
alert('this = ' + this);
});
});
/script
a href=# class=testClick Me/a
var handler = function(e){
//How do I know what event triggered this function?
//this does not work:
alert('e = ' + e);
if(e==focus) alert(focus);
else if(e==blur) alert(blur);
}
select name=month id=month
option value= SELECTED/option
option value=1 January/option
option value=2 February/option
function do_something_based_on_tag_name(selector) {
if(???=='select') {}
}
var selector = jq('#month');
do_something_based_on_tag_name(selector);
How do I get tag
Thanks a lot.
Hi,
I would like to keep jQuery('fo...@name=myform1]') in variable so that
I can utilize it
later on.
var myForm = jQuery('fo...@name=myform1]');
Is there a way I can access checkbox state and check the size?
The following does not work. It gives me 0 even when I some checkboxes
are selected.
How do I dynamically access json values?
var myJSONObject = {formValues: [
{'name': 'Frank'},
{'city': 'London'},
{'age': 25}
]
};
The following gives me undefined.
$.each(myJSONObject.formVals, function(i,item){
alert('i = ' + i + '
How do I insert a value to hidden form field user_name?
form name=myForm id=myForm method=post
input type=hidden name=foo value=bar/
input type=hidden name=user_name value=/
/form
jQuery('form#myForm input:hidden ???').val('fast_fish');
Thats what I need:
input type=hidden
Hello all,
a little new the js and jquery any help would be fantastic...
I have this in my linked myFx.js file:
$(document).ready(function() {
var selected_type = $('select#campaign_type_select');
var coupon_div = $('#campaign_create_coupon');
var broadcast_div =
) {
value = newvalue;
alert( value );
}
});
});
-Mike
From: Bob O
Hello all,
a little new the js and jquery any help would be fantastic...
I have this in my linked myFx.js file:
$(document).ready(function() {
var selected_type = $('select
if' and it should be fine, and start using Firebug for Firefox
so you can debug your scripts, or Visual Web Developer for IE.
On Jan 2, 2:04 pm, Bob O sngndn...@gmail.com wrote:
I must not be getting it, this is whati have now, and it is still not
working as needed.
$(document).ready
Hi Jack,
On 31-Dec-08, at 3:27 AM, Jack Killpatrick wrote:
Hi Bob,
I created the listnav plugin. Thanks for the nice comments about it
in your post, glad you like it.
I certainly do. Nice work!
I'm curious about the issue you're seeing when using Blueprint CSS.
In your post you said
ListNav has finished doing it's thing on the page.
I've written in more detail about this on my weblog:
http://recursive.ca/hutch/2008/12/30/how-to-destroy-page-rendering-performance-using-just-javascript-and-css/
Cheers,
Bob
in more detail about this on my weblog:
http://recursive.ca/hutch/2008/12/30/how-to-destroy-page-rendering-performance-using-just-javascript-and-css/
Cheers,
Bob
Bob Hutchison -- tumblelog at http://www.recursive.ca/so/
Recursive Design Inc. -- weblog at http
Is that a correct way to create class utilizing jQuery?
var myClass = null;
$(document).ready(function(){
function MyClass(){
this.imagesHolder = null;
}
MyClass.prototype.init = function (){
this.imagesHolder = jQuery(#imgs);
}
Yep, I intend to use myClass outside of document ready.
I thought that in order to use jQuery as follows
this.imagesHolder = jQuery(#imgs);
inside of MyClass I would have to enclose it inside
$(document).ready(function(){...
so that DOM is ready before invoking MyClass.
Is my assumption wrong?
Temporary Internet Files and Proxies(Public caching)
I would like to have a registration form cached for 1 year public and
private.
How do i go about it.
Thats what I tried and register.html was not cached.
jq.ajax({
type: POST,
url: http://www.example.com/register.html;,
dataType: html,
cache: true,
instance. But the next time
someone posts a map, the first one doesn't display. Does anyone know
how to use jquery to write the div id so that this actually works?
I will be forever in your debt for any help with this.
-bob
script src=http://www.google.com/jsapi?
key
instance. But the next time
someone posts a map, the first one doesn't display. Does anyone know
how to use jquery to write the div id so that this actually works?
I will be forever in your debt for any help with this.
-bob
script src=http://www.google.com/jsapi?
key
Hi Rey,
Thanks for the reply.. I eagerly await any and all new releases. ;-)
Cheers, Bob.
I think one of the things that we've done is spoiled jQuery developers
by releasing often. Obviously, we try hard to do that (spoil jQuery
developers) because we want you guys to have the very best
for other
js frameworks. I sincerely hope not, but i _am_ worried about it.
Best, Bob.
Hi Andy,
I found that 1.3 roadmap earlier today, when i was googling for news on
jQuery 1.3.. Those pages list no dates, so I have no idea if they're
current or not.
Best, Bob.
Have you reviewed the roadmaps for 1.2 and 1.3?
http://docs.jquery.com/JQuery_1.2_Roadmap
http
Why dont you fire an event after the children have been loaded that
removes them?
On Nov 21, 3:07 am, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
My mistake, it is working. The problem was my lack of understanding
about how Dialog works. main is the div from which I create a Dialog
and I
Nobody knows? Is it not possible?
Thanks ricardo,
It's easier to just add a class to all the headers, then use $
Thats how I do it now I was just wandering if the solution using
each would be possible.
Is it possible to iterate over the array and create functions as
follows?
It did not seem to work for me.
var menu = ['home','news','sport','music'];
for(var i=0; imenu.length;i++) {
$('#'+menu[i]+'_header').click(function(){ alert(i);
alert(menu[i]+'_header clicked');
Cannot be done something with each?
Again, it does not work for me.
var menu = ['home','news','sport','music'];
$.each(menu, function(index) {
$('#'+this+'_header').click(function(){
alert(this+'_header clicked');
});
});
Hi,
I am trying to create a toggler that I would like to work
as follows:
User clicks on #my_header and source of the image gets replaced.
I tried the following but it did not work.
div title=show/hide id=my_header
img src=images/arrow_down.gif/
spanSome title here/span
/div
Thanks ricardo,
Is it possible to do something like this?
It did not seem to work for me.
var menu = ['home','news','sport','music'];
for(var i=0; imenu.length;i++) {
$('#'+menu[i]+'_header').click(function(){
alert(menu[i]+'_header clicked');
var $img
In case someone runs into the same issue, I've attached a patch to
remove the temporary div.
In short this snippet moves the content after the div and then removes
the div. Not sure if this will have nasty side effects though.
regards
bob
Index: jquery.taconite.js
--- jquery.taconite.js
the
command is executed? Or any other suggestion on how to remove the div?
kind regards
bob
integrating taconite into a component
framework and do not have much control over the commands and their
content.
Hmm would it work to unwrap (does that even make sense) the div
contents?
kind regards
bob
Mike Alsup wrote:
In order to do this taconite places the CDATA content inside a div
... or whatever effect is passing back EACH item into the chain,
the queue is applied to each individually with the same effect.
Best,
Bob
('script with src: ' + src + ' already exists');
return false;
}
}
return true;
}
kind regards
bob
On Oct 29, 9:11 pm, Bob Schellink [EMAIL PROTECTED] wrote:
Hi Ricardo,
ricardobeat wrote:
You don't need a plug-in to do that:
$('head')
.append('link href=css/geral.css rel
add the same script again.
Should I bypass JQuery and manually add the script tags to head?
kind regards
bob
/javascript
href=calendar.css/
/append
/taconite
Is this scenario supported by Taconite or should I rather the eval
tag for appending stylesheets?
kind regards
bob
-index: 120;}
#menu ul li a:hover { color: #000; background: #dfdfdf; }
#menu ul li.current a { color: #333; }
Any ideas?
Thanks,
Bob
myCarousel.reset();
}
Hope this helps,
Bob
On Oct 1, 4:20 am, Anatalsceo [EMAIL PROTECTED] wrote:
Thejcarouselplug works really great. I only have a problem with
theresetfunction.
I try on a page to change the content of the carousel without
reloading the page.
I'm using for this the $(document).ready
here.
Cheers,
-Eric
On Sep 20, 10:40 am, Bob O [EMAIL PROTECTED] wrote:
Hello,
Im am a CSS guy moving into the world of js and RoR, so its nice to
find things like jQuery and supporting groups. I am a n00b, so the
more english the response the better
Question:
I have a rails
Hello,
Im am a CSS guy moving into the world of js and RoR, so its nice to
find things like jQuery and supporting groups. I am a n00b, so the
more english the response the better
Question:
I have a rails partial that cycles a :collection. So every record in
the db table receives the same
Wow... nothing... Is anyone using JQuery with a regular old-fashioned
frameset and frames?
On Aug 25, 2:56 pm, Bob Gregg [EMAIL PROTECTED] wrote:
My apologies if this has been asked before; but in searching I can't
see that anyone asked quite the same thing in the past. I have a frame-based
specifically on table rows? I noticed
that it actually seems to move the DOM elements into a single table
cell width prior to the initial fade out; no idea why, though.
Bob
On Aug 26, 1:04 pm, J Junos [EMAIL PROTECTED] wrote:
My issue is that I want to allow users to hide and show expanded data
I've previously implemented table row show/hide in a production app,
so I went back to check - the main difference between your code and
mine was that you're using 'slow' in your toggle() statement. When I
eliminated that and just used toggle() (or show() / hide() ), your
jQuery code seems to
1 - 100 of 112 matches
Mail list logo