Mike,
Sorry for the delay in getting back to you. I don't think a test case
will help, as I can only reproduce this problem on this one internal
server (our new server). The demo page works fine, and blockUI works
fine on our old server. It only seems to fail on our new server.
Carl
Mik
I am migrating an application from one server to another. Both
servers are Windows 2003, similarly configured. The only major
difference is that I use ColdFusion for my CFML engine on my old
server, and BlueDragon JX on my new server.
Here is the problem:
On my new server, when browsing using
Rick,
Here is how I handle creating json content with ColdFusion. I store
the json string in a variable (like variables.myJSONdata). Then, I
output the variable as follows:
#myJSONdata#
The first line clears anything CF might have rendered to the page up
to this point. The second throug
Karl,
How would one go about overriding jQuery's show() and hide() functions
to move the desired element to a negative screen position (CSS left:
-1) instead of changing the CSS display to none?
Carl
Karl Swedberg wrote:
On Jan 16, 2009, at 7:56 PM, Michael Geary wrote:
If you want
processes the user's credentials to
> create
> the appropriate menu and save that content as plain HTML, then load that with
> jQuery.
> The loading seems to work with plain HTML, but without re-freshing,
> processing of
> code doesn't run.
>
> Thoughts?
>
&g
Rick,
Is the ColdFusion conditional code in the includes/
include_menu_index.cfm file?
If so, there may be issues with the AJAX request not using the same
ColdFusion session as your main page.
Also, you might check your AJAX response using Fiddler with IE and
compare it to the response in Firef
Rick,
Is #menu empty to start with? If not, you might want to change your
code to:
$('#menu').hide().empty().load("includes/include_menu_index.cfm").show
();
Another think to consider is whether IE is actually getting back the
json data correctly. You might want to examine the response using
Has anyone else come across this? This is happening on all of my report
pages.
Thanks,
Carl
Carl Von Stetten wrote:
> Hi,
>
> I'm using jQuery 1.2.6.min.js on an intranet application. I have a
> page that when loading, displays a "report loading" message with an
&
I've been exploring several options to load various jQuery plugins
only when needed, from within a javascript file. I've used
the .getScript() method, with callbacks. I've used the $
("body").append("") method also. They work fine, but with
one shortcoming. Because both of these methods append
Bhaarat,
While there is no plugin for the UI demo, you can download the
javascript file that makes it work. It does use jQuery and UI to work.
If you view source on the demo page, you can examine the scripts being
loaded. The file you are interested in is Behaviour.js.
Carl
[EMAIL PROTECT
jquertil,
Try:
$all[0].css('color','#339900');
or
$all.eq(0).css('color','#339900');
As Alexsandro pointed out in his response, .get(0) returns the actual
DOM element, not a jQuery object, so you can't use jQuery functions
(like ".css") on it.
Carl
jquertil wrote:
> $all = $('
Yavuz,
That's because view source only shows the HTML as it was originally
loaded. It does not show any DOM changes that may have been made after
the page was initially loaded. If you have Firefox, and install the
Developer Toolbar, the View Source pulldown on the toolbar offers "View
Gener
You might try adding the .each() function before your .load() call.
Carl
Pickledegg wrote:
> its 'c_name'.
>
> I've discovered something now, if I just use 1 div as the selector to
> update only 1 div,
>
> $('#charges-gsm)
>
> it works fine. But when I add multiple ones:
>
> $('#charges-gsm,#c
kgosser,
Are you loading jQuery.js after your main.js file? If you are, try
loading jQuery first, as it must be present before using any of its
functions.
Carl
kgosser wrote:
> Here's what I'm not getting about jQuery from a novice point of view.
> Let's say I have this:
>
>
>
Dan,
Try:
var e_ox = jQuery("a").eq(index).offset().left;
var e_oy = jQuery("a").eq(index).offset().top;
HTH,
Carl
On Jul 3, 11:49 am, Dan <[EMAIL PROTECTED]> wrote:
> I have these functions:
> var e_w = jQuery("a").eq(index).width();
> var e_h = jQuery("a").eq(index).height();
> var e_ox = jQ
pek,
Try this (untested):
$("testing").hide().insertBefore("#gallery
li:first").slideDown("slow");
Carl
pek wrote:
> First of all, thank you very much for the reply. It is really hard to
> get any reply in this mailing list. This is the third time I'm asking
> something and you are the first
jez_p
Try $('.green')
This will select only elements that have the "green" class assigned,
even if other classes are also assigned to the same elements.
Carl
jez_p wrote:
> How do I target a specific class when elements may belong to multiple
> classes?
>
> For example:
>
> blah blah blah
> b
By default, the jQuery.ajax (or $.ajax) function uses the "get" method,
which passes the data as a querystring tacked onto the url. So does the
jQuery.get (or $.get) function. This is the same as a form submitted
using the "get" method.
If you are using the $.ajax function, you can set the
Jörn,
I have made extensive use of the autocomplete plugin for my intranet
site. I just downloaded the updated version from the trunk (changelog
shows it as 1.0.1, the js file lists the build as 5329). I still have
the tab order problem.
Carl
Jörn Zaefferer wrote:
> Yes, that should be fix
Ken,
Tablesorter has a zebra capability built right in through the zebra
widget - see the docs for the tablesorter plugin. It will automatically
redo the striping after each sort. You can change your code to:
$(document).ready(function() {
$("table#sorttable").tablesorter({widgets: ['zebra
Tim,
Are you using the css file that comes with the ui.datepicker? If so,
make sure the section near the top looks like this:
#datepicker_div {
display: none;
border: 1px solid #777;
z-index: ; /*must have*/
}
Note the z-index set to . Compare this to the z-index of your
Don't know if this is the problem, but you're missing a semicolon (;)
after the end of your $.get function call.
Carl
Jan S wrote:
> All of a sudden, xmlhttprequests don't work no more in IE7. FF
> perfect, no problems.
> Here the simple code:
> www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
Better yet, change line second line of stickFooter function to:
var height = $(document).height() - 341;
And remove the third line entirely.
Carl
Carl Von Stetten wrote:
> How about this (untested):
>
> var stickyFooter = function() {
> var height = $(document).height(
How about this (untested):
var stickyFooter = function() {
var height = $(document).height();
var height = height - 341;
$('#footer').css('margin-top', height);
}
$(document).ready(
stickyFooter();
);
$(window).resize(
stickyFooter()
);
HTH,
Carl
Chris P wrote:
> I wanted
gt; On May 14, 5:55 pm, Carl Von Stetten <[EMAIL PROTECTED]> wrote:
>
>> meppum,
>>
>> That is built into the core of jQuery. For example, to create a new
>> element and append it to an existing div with an id of "mydiv":
>>
>> $('Ne
In case anyone else runs across this:
in my css file I added the "!important" declaration after the cursor
style. This causes the css style to override the user style applied by
jqModal.
Carl
Carl Von Stetten wrote:
> I've read all of the documentation on the jqMo
meppum,
That is built into the core of jQuery. For example, to create a new
element and append it to an existing div with an id of "mydiv":
$('New paragraph').appendTo('#mydiv');
or
$("#mydiv").append('New paragraph');
HTH,
Carl
meppum wrote:
> What is the equivalent jquery code to docume
I've read all of the documentation on the jqModal home pages. I
understand that the default CSS class jqModal looks for to style the
overlay is "jqmOverlay". It appears that the only properties that it
will pick up from a defined CSS style are background color and
background image. I'm tryi
Lee,
Do the various plugins at least use the same jQuery version? If so, can
you modify the plugin-specific JS file to load the required jQuery
scripts only if they haven't already been loaded? You will at least
need to make sure that the jQuery.js (or jQuery.min.js or
jQuery.pack.js) is lo
quirksmode,
Try this:
$('#js_innerwrapper').animate({left:"+="+$.gamewidth}, 1000,
'easeOutSine');
HTH,
Carl
quirksmode wrote:
> Hi,
>
> I need to make a div slide across the screen using the animate
> command. It works when I use the following:
>
> $('#js_innerwrapper').animate({left:"+=500"}
Rick,
Try this (untested):
$(document).ready(function() {
$.each(".formlink"), function() {
$(this).click(function() {
$("#supporttype").val($(this).attr("id");
$("#supportform").submit();
});
});
});
Paid Support or
Free Support
HTH,
Carl
Rick Fai
Peps,
Look into the LiveQuery plugin. It monitors the DOM, and automatically
binds events to new elements created from ajax requests. There are
other methods to do this is well. Check out this jQuery FAQ:
http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_
After making changes to the table, use this instead:
$('#myTable').trigger("update"); // rebuilds the tablesorter data cache
If you have added rows and need to resort, try either this:
$("#myTable").trigger("sorton",[sorting]); // where [sorting] is the JS
array of the sorting column info (see
How about this?
function initDashboard() {
$(document).ready(function() {
if($(".adminMsgSummary").length) {
$(".adminMsgSummary dl:not(first)").hide("fast");
}
}
}
Code not tested, but should work.
Carl
cloudsteph wrote:
> I think I may have been looking at thi
I'm using the TableSorter plugin on a table that will have new rows
appended to it by AJAX calls. I want to resort the table using the
current sort settings after new rows are added.
I am using the TableSorter .trigger("update") and .trigger("sorton",
[sorting]) methods to resort the table. I n
Josh,
Thanks a million. Can't believe I missed that. It's working great now.
Carl
Josh Nathanson wrote:
>
> Carl -- Javascript is case-sensitive, so you have to use hasClass
> rather than hasclass each time you call it.
>
> -- Josh
>
>
> ----- Original Mes
Using jQuery 1.2.3
Firefox 2.0.0.14
I am trying to loop through the headers of a tablesorter table and find
out which columns are being sorted which way. I'm building an array of
arrays that can be fed into the tablesorter.trigger function to resort
the table after changes are made to the DOM
37 matches
Mail list logo