cfdvlpr wrote:
> > How do you test in both IE 6 and IE 7? Are you able to install both
> > these on the same machine or do you have more than one machine?
I use the Microsoft Virtual PC:
http://pingv.com/blog/glhines/200712/browser-testing-ie6
It works very well, and since it has its own regist
I'm using jquery.cookie.js with Drupal 5.5, and am trying to pass a
value between some jquery code etween a module I wrote and the rest of
the site. I found I could set the cookie in my module, and it would be
set correctly the next time I entered the module. But from rest of the
site, I don't see
I'm trying to get the height of the enclosing frameset window in a
page that is using traditional framesets. I am in a function called by
the lower frame. I've tried the dimension plugin, and $
(window).outerHeight() is reporting the height of the window the
current frame is in.
I'm in a frame ca
I'm modifying the Drupal img_assist module, and trying to add a little
jquery to the popup it creates. When I do, I get this error:
$ is not defined
When I view source, I see the jquery init code at the bottom of the
html for both the page frameset, and for both of the framed pages (the
popup us
I have some fields that may be generated on the fly via DOM, and want
to set the tab index. This isn't working for me:
$("#elem2").attr("tabindex", $("#elem1").attr("tabindex") + 1);
What would the correct syntax be to make the tabindex of elem2 to be
that of elem1 + 1?
Christian Bach wrote:
> And to leak a new feature: it will contain multiple column sorting.
One more suggestion, if it isn't in there already: the ability to
exclude some columns as sortable. The column wouldn't display the
sorting class in the header, and clicking on it would have no effect.
May
On Jul 5, 4:22 am, "Christian Bach" <[EMAIL PROTECTED]>
wrote:
> set useCache: false
>
> then trigger this after the update.
>
> $('#bodytable').trigger("updateColumnData");
Thanks, Christian; that did the trick.
When I rebuild the table with more rows, sorting isn't working. If I
was sorting o
I'm using the tableSorter plugin and am having a problem with the
number of rows displayed; I hope I can describe the situation clearly.
I'm building my table dynamically from a local javascript array,
initially populated with a database query. Next, I call the
tableSorter function. So far so goo
Thanks Ben, works perfectly!
On Jul 2, 6:12 pm, "Benjamin Sterling"
<[EMAIL PROTECTED]> wrote:
> Phil,
> This is what I have and get the appropriate rowid in the alert:
>
>
> $(function() {
> for (i=0; i<5; i++) {
> var row_id = 'row' + i;
> var rw = '
Thanks for the suggestions, but I haven't found the answer yet.
> Try:
> alert( $(this).attr('id') );
This displays "undefined" in the alert box.
> var rw = $('row ' + i + '').click(
> function() { alert(row_id); } );
This displays "row4" for all rows in the alert box.
> $('#t1 tr#row'+ i).
I'm building a dynamic table, assigning each row a unique ID based on
the value of the counter, and trying to display the row id in an alert
box when a row is clicked:
$(function() {
for (i=0; i<5; i++) {
var row_id = 'row' + i;
var rw = 'row ' + i + '';
$('#t1').append (r
Newbie question - can somebody please provide an example or reference
to some existing code on how to create a table from an array of
javascript data, please?
I have an array of data to populate the table tbody; each element in
the array represents a row, and contains an array of the contents of
I have a table inside a div; the div has a fixed height and overflow set to
scroll. When the page is opened, the row containing the last selected data
is highlighted, via jquery/DOM.
the problem I have is that if the list (number of rows in the table) is
bigger than can fit in the div, and the cur
Rob wrote:
Where you're checking the request status you're creating a new request
each time.
You need to store the XHR object from the request and use that
(untested):
var xhr = $.post("/myhandler.php", params);
while (xhr.status != 200);
With Firefox 2, I'm getting this error:
[Except
Rob suggested:
> Alternatively you could use a globally accessibly variable which states
> whether there is a pending request or not.
> When a request is sent, set it true, when the response is received set
> it false.
Something like this?
var pending = false;
function send_message(msg) {
pe
I'm calling $.post to send some text back to a web server, where it
gets logged. The function is something like this:
function send_message(msg) {
var params = {};
params['my_message'] = msg;
$.post("/myhandler.php", params);
}
It calls a php page that appends it to a log. If I view the lo
I'm using Drupal 5.1 and jquery to build a site where members can
create content. I wrote a module to display a list of available images
and videos in a list in a block. I'd like to be able to select an item
from the list and drag it into the article body textarea, and
wondering if this can be don
17 matches
Mail list logo