By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,636 Members | 1,941 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,636 IT Pros & Developers. It's quick & easy.

script in table

P: n/a
Hi :)

i've found a usefull script : http://www.editeurjavascript.com/scr...ires_3_786.php

but if i do the same with my form inserted in a table then it doesn't
work anymore.

i don't understand why as my javascript knowledge is poor :(

is there a solution to make this script work even when the form is in
a table ?

Thanks a lot.

Apr 23 '07 #1
Share this Question
Share on Google+
8 Replies


P: n/a
On 23 Apr, 01:00, Axelar <alexandre....@gmail.comwrote:
Hi :)

i've found a usefull script :http://www.editeurjavascript.com/scr...ires_3_786.php

but if i do the same with my form inserted in a table then it doesn't
work anymore.

i don't understand why as my javascript knowledge is poor :(

is there a solution to make this script work even when the form is in
a table ?

Thanks a lot.
the code assumes the inputs are next to each other. siblings, so if
you place them inside a table they must all be in the same cell. why
not use css to style the inpouts so they can remain together, or
change the script to not reply on them being adjacent.

Apr 23 '07 #2

P: n/a
On Apr 23, 10:00 am, Axelar <alexandre....@gmail.comwrote:
Hi :)

i've found a usefull script :http://www.editeurjavascript.com/scr...ires_3_786.php

but if i do the same with my form inserted in a table then it doesn't
work anymore.

i don't understand why as my javascript knowledge is poor :(

is there a solution to make this script work even when the form is in
a table ?
The script is very ordinary, you will be better off to describe what
you are actually trying to do and someone may offer some help. There
was a question very recently that asked about checking and unchecking
a bunch of checkboxes, look at recent posts (say within last 7 days).
--
Rob

Apr 23 '07 #3

P: n/a
On 23 avr, 02:19, RobG <r...@iinet.net.auwrote:
On Apr 23, 10:00 am, Axelar <alexandre....@gmail.comwrote:
Hi :)
i've found a usefull script :http://www.editeurjavascript.com/scr...ires_3_786.php
but if i do the same with my form inserted in a table then it doesn't
work anymore.
i don't understand why as my javascript knowledge is poor :(
is there a solution to make this script work even when the form is in
a table ?

The script is very ordinary, you will be better off to describe what
you are actually trying to do and someone may offer some help. There
was a question very recently that asked about checking and unchecking
a bunch of checkboxes, look at recent posts (say within last 7 days).

--
Rob
i'm trying to manage rights for a photo/video galery.
so i've made a table with a row for each photo album and a column for
each different right (access, modify, delete, comment....)
but to be more efficient i'd like to have a way to make multiple
checkings, for example if i check the access checkbox for the holiday
photo folder, i want every sub-folder such as holidays 2K4, holidays
2K5 and holidayS 2K6 to have the access checkbox checked, as they are
'sons' of holiday folder.

sorry for my poor english and thanks for your answers !

Apr 23 '07 #4

P: n/a
On 23 Apr, 08:56, Axelar <alexandre....@gmail.comwrote:
On 23 avr, 02:19, RobG <r...@iinet.net.auwrote:
On Apr 23, 10:00 am, Axelar <alexandre....@gmail.comwrote:
Hi :)
i've found a usefull script :http://www.editeurjavascript.com/scr...ires_3_786.php
but if i do the same with my form inserted in a table then it doesn't
work anymore.
i don't understand why as my javascript knowledge is poor :(
is there a solution to make this script work even when the form is in
a table ?
The script is very ordinary, you will be better off to describe what
you are actually trying to do and someone may offer some help. There
was a question very recently that asked about checking and unchecking
a bunch of checkboxes, look at recent posts (say within last 7 days).
--
Rob

i'm trying to manage rights for a photo/video galery.
so i've made a table with a row for each photo album and a column for
each different right (access, modify, delete, comment....)
but to be more efficient i'd like to have a way to make multiple
checkings, for example if i check the access checkbox for the holiday
photo folder, i want every sub-folder such as holidays 2K4, holidays
2K5 and holidayS 2K6 to have the access checkbox checked, as they are
'sons' of holiday folder.

sorry for my poor english and thanks for your answers !
you first question is "how do I determine what are sons of the current
object"
is there a way you can do this, do they all have something in common
holidays
|_holiday_2k3
|_holiday_2k4
|_holiday_2k5
....
screenshots
|_screenshot_1
|_screenshot_2
|_screenshot_3
....

or are they random
screnshots
|_screentshot_of_mac_app
|_shot_of_win_app

so determine how you are going to find the "group" of things to be
checked, then loop through them setting them to checked.
if you cant think how to get the group then post some of your source
code.

Apr 23 '07 #5

P: n/a
Axelar wrote:
On 23 avr, 02:19, RobG <r...@iinet.net.auwrote:
>On Apr 23, 10:00 am, Axelar <alexandre....@gmail.comwrote:
>>Hi :)
i've found a usefull script :http://www.editeurjavascript.com/scr...ires_3_786.php
but if i do the same with my form inserted in a table then it doesn't
work anymore.
i don't understand why as my javascript knowledge is poor :(
is there a solution to make this script work even when the form is in
a table ?
The script is very ordinary, you will be better off to describe what
you are actually trying to do and someone may offer some help. There
was a question very recently that asked about checking and unchecking
a bunch of checkboxes, look at recent posts (say within last 7 days).

--
Rob

i'm trying to manage rights for a photo/video galery.
so i've made a table with a row for each photo album and a column for
each different right (access, modify, delete, comment....)
but to be more efficient i'd like to have a way to make multiple
checkings, for example if i check the access checkbox for the holiday
photo folder, i want every sub-folder such as holidays 2K4, holidays
2K5 and holidayS 2K6 to have the access checkbox checked, as they are
'sons' of holiday folder.

sorry for my poor english and thanks for your answers !
Search for the thread with title "Checkboxes inside the Table Cells"
--
Rob
Apr 23 '07 #6

P: n/a
On 23 avr, 13:31, shimmyshack <matt.fa...@gmail.comwrote:
On 23 Apr, 08:56, Axelar <alexandre....@gmail.comwrote:
On 23 avr, 02:19, RobG <r...@iinet.net.auwrote:
On Apr 23, 10:00 am, Axelar <alexandre....@gmail.comwrote:
Hi :)
i've found a usefull script :http://www.editeurjavascript.com/scr...ires_3_786.php
but if i do the same with my form inserted in a table then it doesn't
work anymore.
i don't understand why as my javascript knowledge is poor :(
is there a solution to make this script work even when the form is in
a table ?
The script is very ordinary, you will be better off to describe what
you are actually trying to do and someone may offer some help. There
was a question very recently that asked about checking and unchecking
a bunch of checkboxes, look at recent posts (say within last 7 days).
--
Rob
i'm trying to manage rights for a photo/video galery.
so i've made a table with a row for each photo album and a column for
each different right (access, modify, delete, comment....)
but to be more efficient i'd like to have a way to make multiple
checkings, for example if i check the access checkbox for the holiday
photo folder, i want every sub-folder such as holidays 2K4, holidays
2K5 and holidayS 2K6 to have the access checkbox checked, as they are
'sons' of holiday folder.
sorry for my poor english and thanks for your answers !

you first question is "how do I determine what are sons of the current
object"
is there a way you can do this, do they all have something in common
holidays
|_holiday_2k3
|_holiday_2k4
|_holiday_2k5
...
screenshots
|_screenshot_1
|_screenshot_2
|_screenshot_3
...

or are they random
screnshots
|_screentshot_of_mac_app
|_shot_of_win_app

so determine how you are going to find the "group" of things to be
checked, then loop through them setting them to checked.
if you cant think how to get the group then post some of your source
code.
they are sorted, you can have a look at the page and the source at :
http://www.axelar.net/testjava.php?action=gererdroits
>Search for the thread with title "Checkboxes inside the Table Cells"
I've read the thread but it only work with one column, and i need to
be able to check column by column...

Anyway thanks for your answers :)

Apr 23 '07 #7

P: n/a
Axelar wrote:
On 23 avr, 13:31, shimmyshack <matt.fa...@gmail.comwrote:
>On 23 Apr, 08:56, Axelar <alexandre....@gmail.comwrote:
>>On 23 avr, 02:19, RobG <r...@iinet.net.auwrote:
On Apr 23, 10:00 am, Axelar <alexandre....@gmail.comwrote:
Hi :)
i've found a usefull script :http://www.editeurjavascript.com/scr...ires_3_786.php
but if i do the same with my form inserted in a table then it doesn't
work anymore.
i don't understand why as my javascript knowledge is poor :(
is there a solution to make this script work even when the form is in
a table ?
The script is very ordinary, you will be better off to describe what
you are actually trying to do and someone may offer some help. There
was a question very recently that asked about checking and unchecking
a bunch of checkboxes, look at recent posts (say within last 7 days).
--
Rob
i'm trying to manage rights for a photo/video galery.
so i've made a table with a row for each photo album and a column for
each different right (access, modify, delete, comment....)
but to be more efficient i'd like to have a way to make multiple
checkings, for example if i check the access checkbox for the holiday
photo folder, i want every sub-folder such as holidays 2K4, holidays
2K5 and holidayS 2K6 to have the access checkbox checked, as they are
'sons' of holiday folder.
sorry for my poor english and thanks for your answers !
you first question is "how do I determine what are sons of the current
object"
is there a way you can do this, do they all have something in common
holidays
|_holiday_2k3
|_holiday_2k4
|_holiday_2k5
...
screenshots
|_screenshot_1
|_screenshot_2
|_screenshot_3
...

or are they random
screnshots
|_screentshot_of_mac_app
|_shot_of_win_app

so determine how you are going to find the "group" of things to be
checked, then loop through them setting them to checked.
if you cant think how to get the group then post some of your source
code.

they are sorted, you can have a look at the page and the source at :
http://www.axelar.net/testjava.php?action=gererdroits
>Search for the thread with title "Checkboxes inside the Table Cells"

I've read the thread but it only work with one column, and i need to
be able to check column by column...

Anyway thanks for your answers :)
I think I would much more greatly concerned about having an almost 2
Megabyte JPEG as a background.

--
-Lost
Remove the extra words to reply by e-mail. Don't e-mail me. I am
kidding. No I am not.
Apr 23 '07 #8

P: n/a
I think I would much more greatly concerned about having an almost 2
Megabyte JPEG as a background.
thank you for this helpfull answer

for your information this site is only for a familial purpose so i
don't need to worry about this
overmore i've made a css selector allowing to choose distincts
appearance and some of them are very light

try for example with http://www.axelar.net/testjava.php?a...roits&style=93
Apr 23 '07 #9

This discussion thread is closed

Replies have been disabled for this discussion.