Checkbox: Mark All, Clear All

I´ve got a basic problem, how to incorporate Javascript to htmldb. Stop! I´ve already read the How-To to this topic, but it doesn´t help in my case. I´ve got the HTML Code to Mark All and Clear All Checkboxes at the end of my text. My question: Where exactly and in which form must I input the several HTML Codes to start my function?
E.g. I think, the different function´s in my code should be placed in the Page Attribute Header Field. Should I create several CheckboxID´s foe each Checkbox or does it suffice to create only one CheckboxID with different Checkboxaccounts?
<html>
<head>
<script>
<!-- Begin
var checkflag = "false";
function check(field)
var i;
if (eval(field[0].checked))
for (i=0;i<field.length;i++)
field.checked=true;
LL(field);
return "Uncheck All";
else
for(i=0;i<field.length;i++)
field[i].checked=false;
UU(field);
return "Check All";
function LL(field){field.disabled=true;}
function UU(field){field.disabled=false;}
</script>
</head>
<body>
<FORM method=post name=f1>
<table>
<tr><td>
<INPUT type=checkbox name=list value="Check All"
onClick="this.value=check(this.form.list);">All<br>
<INPUT type=checkbox name=list value="2">Air<br>
<INPUT type=checkbox name=list value="3">Monitoring<br>
<INPUT type=checkbox name=list value="4">Water<br>
<INPUT type=checkbox name=list value="5">Pollution Prevention<br>
</table>
<INPUT class=lightbluecell style="FONT-FAMILY: verdana, arial, helvetica;
FONT-SIZE: 10px" type=reset value=Clear>
</FORM>
</body>
</html>
I´d be pleased to get a step for step help, because I´m not adepted in this topic.
Thank you very much!

Yep,
Same issue mentioned in this other thread that was started by one of the site administrators:
Update on site issues
It seems to effect some people to a greater degree than others.
(For example, I'm only afflicted by a single solitary lingering one in my Communications page.)
Since there's been no blatant acknowledgment response, we can only hope they're trying to figure out what's "broken".

Similar Messages

  • Select All & Clear All netui:CheckBoxGroup ?

    Hi,
    I am using netui:CheckBoxGroup to select the checked items. But i would want to use javascript to select all the netui:CheckBoxOption buttons to be checked & unchecked.Kindly provide me a sample .
    Thanks,
    Bala.J

    Hi,
    In the user command write the code as per the sample given below:
    FORM select_all .
      CLEAR v_lisel.
      DO.
        READ LINE sy-index FIELD VALUE v_chk.
        IF sy-subrc NE 0.
          EXIT.
        ENDIF.
        READ LINE sy-index FIELD VALUE sy-lisel INTO v_lisel.
        IF v_lisel+2(1) = ' ' AND sy-index GT 5.
          v_lisel+2(1) = 'X'.
          MODIFY LINE sy-index FIELD VALUE sy-lisel FROM v_lisel.
        ENDIF.
      ENDDO.
    ENDFORM.                    " select_all
    reward if useful
    regards,
    ANJI

  • If I want to create a Listbox to run multple tests, how can I create a check all and clear all button for selection/​deselectio​n of all the tests

    create check all/clear all button for listbox

    Hi Arien,
    Parthabe is right, next time, try to create a new thread.
    So when others try to search for a topic, they can actually find it.
    I developed this example code that you can take a look at.
    It's using property nodes of the chart to control which plot to show and to force invisible
    Message Edited by Van_L on 03-06-2008 07:19 PM
    Van L
    NI Applications Engineer
    Attachments:
    choose plot.vi ‏25 KB

  • How do I find and clear all ticked Stop Times in music tracks?

    I have lots of music tracks which have the Stop Time ticked under the Options tab in Get Info. I don't know why they are ticked as I didn't do it, but now I want to clear them all as it causes tunes to stop abruptly in playback. I've looked for a script that would do this, but no luck. If there's no available script, perhaps if I could at least find all of the songs with Stop Time ticked, that would be a start. Does anyone either know of a way to clear all ticked Stop Times, or at least create a playlist of all songs with Stop Time ticked? If anyone knows why Stop Time gets ticked for some songs and not others, that would also be useful information. Thanks in advance.

    barney97,
    Maybe this script in can be of help:
    tell application "iTunes"
    if selection is not {} then
    set sel to selection
    repeat with this_track in selection
    try
    set finish of this_track to 1000
    end try
    end repeat
    display dialog "Done!" buttons {"Thanks"} default button 1 giving up after 5
    end if
    end tell
    Replace the "1000" with the number of seconds of your longest track, compile and run the script. The script tries to set the Stop Time to 1000 seconds. If your tracks are shorter in duration, the Stop times just will be cleared.
    Run Script Editor (in ./Applications/Applescript) and copy the script (grey block above) to it.
    Click the 'Compile' button and save it as a script in ./Library/iTunes/Scripts.
    It will then appear in the Script menu in iTunes.
    Next, select all tracks in your Music Library (Command-A) and run the script.
    It's not a very elegant solution, but it works.
    If anyone knows why Stop Time gets ticked for some songs and not others, that would also be useful information.
    I can't tell you that. I've never experienced a phenomenon like that.
    Maybe some iTunes related Widget or iTunes supporting application is responsible for that.
    Hope this helps.
    M
    17' iMac 800 MHz, 768 MB RAM, 200 GB HD, DL burner   Mac OS X (10.4.9)   iTunes 7.2

  • Clear all rows in a Bean Data Control

    I am using JDeveloper 11.1.1.6
    In my use case I have a screen that interacts with a Bean Data Control I have followed the steps in the following URL to create a Bean Data Control
    http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_36/jdtut_11r2_36.html
    My screen successfully interacts with the Bean Data Control. This screen lives in a Bounded Task Flow (BTF). I can add rows using a Create Insert binding and can delete Rows as well. Once the user gets all rows into the Bean Data Control that they want inserted to a DB table, I can iterate through the Bean Data Control and post those records to the DB. It is possible for the users to add rows to the Bean Data Control and then link to a brand new screen which is in a different BTF which leaves rows in the Bean Data Control. Now the user goes back to the original screen. Upon returning, I want to empty (clear all rows) for the Bean Data Control so that they have a fresh start. Could you please provide guidance on what I might need to do to be able to clear a Bean Data Control when entering a BTF

    Hi,
    You can create a method to clear your Bean Data Control and call it with an invokeAction with property refresh="ifNeeded" and refreshCondition="#{pageFlowScope.isTimeToClearAll}", so pageFlowScope.isTimeToClearAll must be true only when you need to clear the BDC.
    Check this article: http://www.gebs.ro/blog/oracle/oracle-adf-invokeaction/
    AP

  • How can i clear all events in ical

    how can i clear all events in ical

    Try typing "." without the exclamation points in the iCal search window. Then simply highlight all the entries > Edit/Delete

  • How Long will it take to reset the 16gb ipad with clear all data in it.

    How Long will it take to reset the 16gb ipad with clear all data in it.

    I have the same problem. I try to reset my ipad / iphone 3g using the reset and delete all content on general. It is almost 2 days now but my ipad / iphone 3g are not yet finish. Only apple logo / looping circle appears on the screen. What will i do? thanks... iOS 5.0.1

  • FDM export to HFM - 2nd export did not clear all data from 1st export?

    Has anyone experienced exporting a replacement FDM file to HFM where the 2nd file did not contain an account that was present in the original file and that account/value in the 1st file then remained in the HFM trial balance and caused it to be out of balance? Does the replace export option not clear all the prior file data? The only unusual part of it might be that the problem account was derived using logic group script? Thanks.

    Thanks Hensen - Sure, it was easy enough to fix once I deduced what the problem was - although my solution was just to use the data clear function and reload. The real question is how to prevent it from happening again and it sounds like I can't do much about it - other than trying to train the users to watch out for do-over files that have fewer accounts than the original load?? Am I wrong to think that HFM should try to fully clear all previous data from a load file if there is a replacement or at least try to validate whether or not all prior accounts have been repopulated?? There's plenty of good validation in the validation step of FDM. Why not during the export step? If this makes sense, I'll put in another "enhancement request" to support.

  • We can not clear all recents(30 recents call).  When Tango show "No recents call". We touch other buttons and come back to Recents button again.  It still show 30 recents call.

    We can not clear all recents(30 recents call).  When Tango show "No recents call". We touch other buttons and come back to Recents button again.  It still show 30 recents call.

    No one here is going to do anything about it. Send feedback to Apple.
    http://www.apple.com/feedback/ipad.html
    Basic troubleshooting steps. 
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 

  • I have cleared all apps from my ipad.  How do yo get rid of calendars and delete saved messages which is taking all mt storagw

    I have cleared all apps but still not able to download a rented movie.  The only spot where I have data stored is in saved messages andd calendars.  Cannot find the saved messages and cannot delete calendars. Any other suggestions because this was a very stupid purchase if you only have enough storage for the standard apps.

    Go to: Settings>General>Usage>and see what is eating up all of your memory. After you find what is eating up most of your memory just delete it thru:Settings>General>Usage. I would not think your calendars and messages would take up all of your memory.
    Cheers,
         Alec

  • How to clear all open GRIRs in the year end and maintained as provision  ?

    Hi Friends,
    I would like to clear all open GRIRs in the year end and maintained as provision.
    in the next year next day i would like to show as open items.
    How can do it ?
    I have tried to clear it. I have maintained OBYP settings also. But i am unable see as clear item.
    Could you explain me how it actuallly works ?

    Hi REddy,
    In most of the cases, the GR/IR account will have a credit balance and would be taken as provision for liability during year end activites. So as a standard practise you need to clear them on year end.
    but if you want to clear them, first you need to deselect check box Post automatically only for GR/IR clearing GL's master data.
    Then pass a adjustment entry like
    GR/IR GL Dr
                To Provision for Liabilites GL: Cr
    Above sample entry is true when your GR/IR account has a CR balance at the year end. if not post it in a reversed manner.
    Now with tcode F-03, for GR/IR GL, choose all items and clear them. Now you will get the clearing doc number.
    Now on start of new FY, reverse the above accounting entry with FB08.
    This will meet your requirement.
    Thanks,
    Srinu

  • I have two iphone , 4 and 5s  and only one apple id , I upgeraded 5s to ios 8  but cleared  all contacts of iphone 4 ?! I have backup on icloud for 4 and 5s but I can't recovery contacts for 4 After restore ??

    I have two iphone , 4 and 5s
    I have only one apple id
    I upgeraded 5s to ios 8  but cleared  all contacts of iphone 4 and
    I have backup on icloud for 4 and 5s but I can’t recovery contacts for iphone 4
    After restore with backup on icloud , A moment seen iphone 4 contacts and contacts 5S immediately replaced!
    Pleas help me
    Tanks

    You have to follow the process outlined here to recover contacts from an iCloud backup: Recovering deleted iCloud contacts from an iCloud backup..  Otherwise, as you have noticed, the recovered contacts are overwritten when your device reconnects to iCloud.

  • On an iPad with iTunes, do you know if you can edit/delete all your tunes on your device with a "clear all" button rather than having to delete a song one by one like you have to do on an iPhone if not synching via a MacBook/ PC with iTunes account?

      I'm signed up to the Cloud and itunes match - the whole game. But I cam getting annoyed with having to delete songs one by one on my iPhone once dowloaded from the cloud as I only have a 16GB phone....yes I listen to music non-stop!  So, I am thinking about getting an iPAD as I rarely use my MacBook Pro for anything other than surfing and music now...  so the question is:  "On an iPad with iTunes, do you know if you can edit/delete all your tunes on your device with a "clear all" button rather than having to delete a song one by one like you have to do on an iPhone (if not synching via a MacBook/ PC with iTunes account where I know you can clear down and refill with ease)????

    Have you tried
    Settings > General > Usage > Music > Edit > Delete

  • How can I change the apple ID on my iPhone to clear all contents and installation?

    I still have my iPhone 4s, Which I stopped using when the screen died. I bought a new iPhone 5s. Since, I've changed my Apple ID main e-mail address.
    Today I had the screen of the old 4s fixed. Now I want to clear all contents and installation so that I can sell it.
    Problem is, that it keeps asking me to verify my Apple ID with my old e-mail address, which obviously doesn't work.
    I've allready changed the Apple ID e-mail address in the Apple-ID area in settings. But this doesn't help.
    Does anyone know the way out of this?!?
    Thanks!

    http://support.apple.com/kb/HT5661

  • I accidenttly deleted my notes and the icloud cleared all the message from both ipad and iphone  ...How can i get it back?? If I can ??

    I accidenttly deleted my notes and the icloud cleared all the message from both ipad and iphone  ...How can i get it back?? If I can ??

    Your notes should be stored in your backup, so if you have backed up the iPad and that backup does contain those notes that you deleted, you can try restoring from your backup. If you haven't backed up the iPad since you created those notes, they are gone.
    If you backup with iCloud only, restoring from backup involves erasing the device and then going through the setup all over again and finally restoring from the iCloud backup. This article explains the process quite clearly.
    http://gigaom.com/apple/ios-101-set-up-and-restore-from-icloud-backup/
    If you backup with iTunes, connect the iPad to your computer, launch iTunes and right click on the device name on the left and select - Restore from Backup. But before you do that .... turn off auto sync in iTunes - without connecting the iPad - launch iTunes and go to Edit>Preferences>Devices and check the box at the bottom of that window in order to turn off auto sync.
    Email messages are not stored in your backups.

Maybe you are looking for

  • Not Recognized inItunes/Recognized but can't be accessed in My Computer

    I have recently run into this problem on my computer. My Ipod no longer can be recognized by Itunes. The program doesn't automatically start when I plug the Ipod in anymore and the Ipod doesn't show up if I open the program then plug it in. I had set

  • Unable to setup HP 2015dn printer on windows 7 64bit

    I have configured HP 2015dn printer in windows xp machine. we are using that shared printer on another desktop on which windows 7 32bit OS is instlled. I am not able to setup printer in one all of the machines on which I have installed windows 7 64bi

  • Ipod Start-Up Freeze

    I Have A iPod Touch and for the first week or so has been fine and then i suddenly started getting freezes when i tried to go into Music Photo's and Video's and it will highlight the chosen application but it wont load Please Help.

  • Stateful session bean does not rollback TX

    I am unable to figure out why my stateful session bean is unable to rollback transactions when I throw an EJBException. My stateful session bean has an ejbCreate method which calls 2 other creates on 2 entity beans. If one of the entity beans success

  • Purchased Mountain Lion, but it is stuck on download with no activity for about half an hour.  What next?

    Purchased Mountain Lion via App store but it appears to be stuck in download with no activity for over half an hour and no error messages. The download bar shows the download at about 1/20th for about half an hour as well.  I had what appeared to be