>
> [name=row]
>
do you mean find('td[name=row]') ?
A.
Hi,
i have a table with checkboxes which allows user to select all row/records
or none.
they have all the same name : row
i would like to know if there is an easy way to find them in my table ?
i was thinking about something like :
$("#grid").find('td:row').each(function(i)
{
...
});
when td:row
thanks a lot, it works... i was looking so complicated thing to do. :-(
On Sat, Mar 14, 2009 at 5:53 PM, mkmanning wrote:
>
> item[field]
>
> On Mar 14, 9:46 am, Alain Roger wrote:
> > Hi,
> >
> > i have several html tags with some additional attributes like
Hi,
i have several html tags with some additional attributes like 'type' or
'abbr'. for example :
Language
now i have a function which should fill the TD tag of another table based on
the abbr attribute of my first table (like you can see the TH above).
this function looks like that :
$.getJSON("
Hi,
so i found why my code was not working...basically i found the reason but
not how to walkaround it for now.
in fact my data cells (2nd table) is loaded with a getJSON data collection
(as you can see below):
$.getJSON("lg.php",{ start: 0, offset : 10 },
function(data)
{
Hi,
i need to debug jQuery code and i would like to know if there is an easy way
to display (as alert or into FFconsole) the children tags of a particular
element ?
thanks
Al.
sorry... i made a mistake... by .find('tr,td') i wanted to tell
find("th,td")
On Fri, Mar 6, 2009 at 9:23 PM, Alain Roger wrote:
> Thanks MorningZ,
>
> i've check your code and there is something i do not understand... as i'm
> still rookie to jQuery
Thanks MorningZ,
i've check your code and there is something i do not understand... as i'm
still rookie to jQuery i'm maybe asking a stupid question , so in this case
sorry.
when you call the following function
Grid_Colunns_Resize($("#frm_table, #data_grid"));
in fact $("#frm_table, #data_grid"
>
>
> What if the data table's first column is not wider than the header
> table's first column? then you'll be smushing the header
>
in fact i was thinking to check each column headers first, and whatever
width have the data columns, to allocate the column header widths to their
respective d
>
> I knew you had 2 tables, and sorry if I came across as condescending (a lot
> of people don't realize tables can have a header section). I'm just trying
> to figure out why you need to have it split into two tables. Are you trying
> to have the header cells follow the page as you scroll? If so,
On Fri, Mar 6, 2009 at 3:05 PM, MorningZ wrote:
>
> I don't know if you copy and pasted that code right from your tool of
> choice, but you've got single and double quotes mixed up at
>
>
>
> use single quotes or double quotes, but not one of each, that will
> cause major issues
>
Sorry Morning
On Thu, Mar 5, 2009 at 9:41 PM, MorningZ wrote:
>
> Can you post (preferably on http://paste.pocoo.org/) what:
> 1) What both tables look like? (as previously mentioned, your screen
> shot only shows one table, that doesn't help)
> 2) how you are assigning the variable "$slave_table"
>
> Seeing b
On Fri, Mar 6, 2009 at 4:16 AM, David Muir wrote:
> So you're saying you need to use js to sync the two tables so that you can
> use different styling for the header? Sounds like you should be updating
> your html markup instead.
> Header cells should be using th tags.
>
>
>
>
On Thu, Mar 5, 2009 at 8:10 PM, MorningZ wrote:
>
> nothing special and only one table shown
>
yes because my previous code and question belong to this table
as you can see the following code should work... but it doesn't :-(
$slave_table.find("tbody tr").find("td").each(function(i)
{
...
});
a
On Wed, Mar 4, 2009 at 10:39 PM, MorningZ wrote:
>
> I took a shot in the dark on what your HTML is like
>
> here's a working example
>
> http://paste.pocoo.org/show/106506/
>
> Note: the width's of cells are not know until the page is fully
> loaded... hence the initial call to the function is i
On Wed, Mar 4, 2009 at 11:12 PM, donb wrote:
>
> Is thre some reason you can't do it with simple CSS directives?
> Define a Class for each as appropriate and use the same class in
> the td of both tables. No jQuery or javascript needed at all.
>
yes, because i have a different CSS code for head
On Wed, Mar 4, 2009 at 3:20 PM, MorningZ wrote:
>
> Some code i wrote
>
> http://paste.pocoo.org/show/106445/
>
> Call it like:
>
> Columns_Resize($("selector for tables to line up widths"))
>
>
Hi MorningZ,
i tried to adapt the code to my purpose and i'm facing an interesting
problem.
$slave_ta
Hi,
i have 2 tables, 1 contains only headers and another only the data.
do not ask me why it is like...it has to :-)
however, i must give/allocate the same width to header and data cells.
for that i was thinking to use jQuery.
is there an easy way to synchronize width of both table in order to
On Mon, Mar 2, 2009 at 10:52 AM, Matt Quackenbush wrote:
> Yes.
>
>
>
> On Mon, Mar 2, 2009 at 3:35 AM, Alain Roger wrote:
>
>> Hi Wil,
>>
>> so if i understood well, having the following JSON:
>>
>>> {"records":[{"id":1,&
On Sun, Mar 1, 2009 at 9:59 PM, Wil Everts wrote:
>
> One of my favorite examples of this is the Flickr example on Visual
> jQuery (http://remysharp.com/visual-jquery/).
>
> $.getJSON("
> http://api.flickr.com/services/feeds/photos_public.gne?tags=cat&tagmode=any&format=json&jsoncallback=
> ?",
>
hi,
i do not understand so well how the function getJSON works. i've read the
documentation but i think i miss the point.
i would like to pass some argument/parameter to a php file which in return
gives me som JSON answer.
therefore i wrote the following code:
$.getJSON("lg.php",
{ start: 0, offs
Hi,
i have a div with the scrolling function attached to it as following:
$("#data_framework").scroll(function(e){
> //var maxScroll = $("#data_framework").attr("scrollWidth") -
> $("#data_framework").width();
> $("#frm_table").scrollLeft($('#data_framework').scrollLeft);
> });
>
as you can
Hi,
i did not get any anwser (at least i did not get answer emailed)...so sorry
if someone did.
i'm back with my question about 2 divs with 1 of them including an
horizontal scrollbar.
how can i scroll both divs horizontally when user scroll only 1 of them
using the scrollbar ?
i read jQuery help
Hi,
first i would rather suggest to not use numbers as array name... in your
example you will have problem while debuggin code and i'm not sure that it
will work correctly.
so i would suggest instead of using 9 to use something else but with
characters.
you can do something like that (where myarra
Hi,
i have a div which i use to slideUp with jQuery. if under FF3 there is not
problem, i met an issue under IE7.
for example if i have several divs within this "SlideUp" div, (and that
there is 1 div which is placed with css at the bottom of this SLideUp div)
while this div is slidingup, the "bot
Hi,
i use the following code to set up the height of a div (framework):
> var GridTitle_OuterHeight = parseInt($("#gridtitle").outerHeight(),10);
> var Navigation_OuterHeight = parseInt($("#navigation").outerHeight(),10);
> var FrmBottomBorder = parseInt($("#framework").css("borderBottomWidth")
Hi,
i would like to know if something exists in jQuery to allow me to do the
following thing:
i have 2 divs and when 1 is scrolling horizontally, i would like to scroll
the other one by the same amount of pixels (as the first one).
if not, i guess i must use something from pure javacript.
thx.
-
Hi,
i didn't find anything on jQuery and JSON. is there any decoder ?
thanks a lot.
--
Alain
---
Windows XP x64 SP2 / Fedora 10 KDE 4.2
PostgreSQL 8.3.5 / MS SQL server 2005
Apache 2.2.10
PHP 5.2.6
C# 2005-2008
r/better way but I always do the
> following when I get number values from CSS:
>
> parseInt($(.someclass).css("left"));
>
>
>
> On Feb 14, 2:30 pm, Alain Roger wrote:
> > Hi,
> >
> > i know how to get border width with jQuery but every time it retri
Hi,
i know how to get border width with jQuery but every time it retrieves also
the format (px or em).
is there an easy way to get the border width without the px or em ? or
should i do a substring ?
thx.
--
Alain
---
Windows XP x64 SP2 /
x27;,function(){$('myTopDiv').addClass('myclass');});
>
> pierre
>
> Alain Roger a écrit :
>
> Hi,
>>
>> i have 2 divs (one on the top and one below).
>> when user click on top div, the bottom div is SlidingUp slowy and the top
>> div class should
Hi,
i have 2 divs (one on the top and one below).
when user click on top div, the bottom div is SlidingUp slowy and the top
div class should change.
this works well, but to make it perfect i would like to be sure that my
bottom div is completly slided Up before to change class of my top div.
how
Hi,
I would like to simulate the maximize/minimize window effect. So i created
an image Maxi and an image Mini.
maxi is displayed by default. When user click on this image, a div should be
displayed (no problem for that point) and the Mini image should be displayed
instead of Maxi.
for sure, if us
thanks a lot it works well :-)
On Wed, Feb 11, 2009 at 9:46 PM, James wrote:
>
> For HTML attributes, you should always use double-quotes:
> Use:
> Not:
>
> On Feb 11, 10:26 am, amuhlou wrote:
> > I'm not quite sure why you would need special code to make the
> > span the width of the entire
Hi,
i have the following html code:
this is a simple test
here is my css file:
> #ARGrid
> {
> border : 3px solid #aa;
> padding : 0;
> margin : 0;
> font-family : verdana, tahoma;
> font-size : 10px;
> }
> .framework
> {
> background-color : #
Hi,
i have a tage and i would like to add a node using jQuery.
what is the best method in order to get ... ?
thx
--
Alain
---
Windows XP x64 SP2 / Fedora 10 KDE 4.2
PostgreSQL 8.3.5 / MS SQL server 2005
Apache 2.2.10
PHP 5.2.6
C# 2005-20
HI,
i have a table with thead, tbody and the headers (stored in thead) should be
able to be moved to reorder the table.
for example, if the 1st column is "ID", the 2nd column is "Name" and 3rd one
is "firstname", i want user to be able to drag and drop column "firstname"
between ID and Name column
Hi,
i'm newbie to jQuery however i watched those videos on internet and it seems
that jQuery is a very powerful library now.
i have a grid/table that i would like to create using jQuery, it would be a
wonderful try from my side. I know that some tables and grids plug-ins
already exist but i want t
38 matches
Mail list logo