473,779 Members | 1,912 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

could you help in creating checkboxes with condition.

Hi,
I created two forms. In the first frame i had Items with checkbox like
names of students etc. When ever i checked on any name It's display on
the other frame. Up to know it's fine. But when i deselcted any check
box it again display same name.
My requirement is when i deselected the checkbox that particular
student name is deleted from the list .
Any one please give suggestion for above problem.
your help will be appricited.
TankQ.

-Raju

Nov 7 '06 #1
6 1470
"ra**********@g mail.com" <ra**********@g mail.comwrote in
news:11******** *************@m 7g2000cwm.googl egroups.com:
I created two forms. In the first frame i had Items with checkbox like
names of students etc. When ever i checked on any name It's display on
the other frame. Up to know it's fine. But when i deselcted any check
box it again display same name.
My requirement is when i deselected the checkbox that particular
student name is deleted from the list .
Any one please give suggestion for above problem.
your help will be appricited.
TankQ.
Hi Raju,

Please tell us why you are using frames. And please show us the
Javascript you are using to display names.
Nov 7 '06 #2
Jim Land said the following on 11/7/2006 1:26 AM:
"ra**********@g mail.com" <ra**********@g mail.comwrote in
news:11******** *************@m 7g2000cwm.googl egroups.com:
>I created two forms. In the first frame i had Items with checkbox like
names of students etc. When ever i checked on any name It's display on
the other frame. Up to know it's fine. But when i deselcted any check
box it again display same name.
My requirement is when i deselected the checkbox that particular
student name is deleted from the list .
Any one please give suggestion for above problem.
your help will be appricited.
TankQ.

Hi Raju,

Please tell us why you are using frames.
Ummm, because he wants to use frames?
And please show us the
Javascript you are using to display names.
Probably an onclick of the checkbox that adds the name to the other frame.

To add names is easy, removing them is simply a matter of splitting the
other frame's innerHTML on the name that is being unchecked and then
putting the resulting string back together.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javas cript FAQ - http://jibbering.com/faq
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Nov 7 '06 #3
Randy Webb said the following on 11/7/2006 1:45 AM:
Jim Land said the following on 11/7/2006 1:26 AM:
>"ra**********@ gmail.com" <ra**********@g mail.comwrote in
news:11******* **************@ m7g2000cwm.goog legroups.com:
>>I created two forms. In the first frame i had Items with checkbox like
names of students etc. When ever i checked on any name It's display on
the other frame. Up to know it's fine. But when i deselcted any check
box it again display same name.
My requirement is when i deselected the checkbox that particular
student name is deleted from the list .
Any one please give suggestion for above problem.
your help will be appricited.
TankQ.

Hi Raju,

Please tell us why you are using frames.

Ummm, because he wants to use frames?
> And please show us the Javascript you are using to display names.

Probably an onclick of the checkbox that adds the name to the other frame.

To add names is easy, removing them is simply a matter of splitting the
other frame's innerHTML on the name that is being unchecked and then
putting the resulting string back together.
An even simpler way is to simply .replace the name with a "" blank space.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javas cript FAQ - http://jibbering.com/faq
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Nov 7 '06 #4

Jim Land (NO SPAM) wrote:
"ra**********@g mail.com" <ra**********@g mail.comwrote in
news:11******** *************@m 7g2000cwm.googl egroups.com:
I created two forms. In the first frame i had Items with checkbox like
names of students etc. When ever i checked on any name It's display on
the other frame. Up to know it's fine. But when i deselcted any check
box it again display same name.
My requirement is when i deselected the checkbox that particular
student name is deleted from the list .
Any one please give suggestion for above problem.
your help will be appricited.
TankQ.

Hi Raju,

Please tell us why you are using frames. And please show us the
Javascript you are using to display names.
TankQ for reply,

Iam using frames bcoz i want to dislay my result
in another frame.; Iam retriving a variable from database and
displaying that variable in another frame.
Therfore It's compulsary to display the name in
the another frame.
-raju

Nov 7 '06 #5

Randy Webb wrote:
Randy Webb said the following on 11/7/2006 1:45 AM:
Jim Land said the following on 11/7/2006 1:26 AM:
"ra**********@g mail.com" <ra**********@g mail.comwrote in
news:11******** *************@m 7g2000cwm.googl egroups.com:
I created two forms. In the first frame i had Items with checkbox like
names of students etc. When ever i checked on any name It's display on
the other frame. Up to know it's fine. But when i deselcted any check
box it again display same name.
My requirement is when i deselected the checkbox that particular
student name is deleted from the list .
Any one please give suggestion for above problem.
your help will be appricited.
TankQ.

Hi Raju,

Please tell us why you are using frames.
Ummm, because he wants to use frames?
And please show us the Javascript you are using to display names.
Probably an onclick of the checkbox that adds the name to the other frame.

To add names is easy, removing them is simply a matter of splitting the
other frame's innerHTML on the name that is being unchecked and then
putting the resulting string back together.

An even simpler way is to simply .replace the name with a "" blank space.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javas cript FAQ - http://jibbering.com/faq
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
you suggest me replace the name as blank ! How it possible. When i
clicked on ckeckbox i am getting the name . If i put it as blank i
din't get the name.

My problem is while i deselected the box i am again the same copy of
name. I want when deselect that part it will be deleted from the table.

Nov 7 '06 #6

Jim Land (NO SPAM) wrote:
"ra**********@g mail.com" <ra**********@g mail.comwrote in
news:11******** *************@m 7g2000cwm.googl egroups.com:
I created two forms. In the first frame i had Items with checkbox like
names of students etc. When ever i checked on any name It's display on
the other frame. Up to know it's fine. But when i deselcted any check
box it again display same name.
My requirement is when i deselected the checkbox that particular
student name is deleted from the list .
Any one please give suggestion for above problem.
your help will be appricited.
TankQ.

Hi Raju,

Please tell us why you are using frames. And please show us the
Javascript you are using to display names.
Hi,
I am still facing the same problem. Could you help me please. I
want to tell up what i had done ...
I created two forms. In the first frame i had Items with checkbox
like names of students etc. When ever i checked on any name It's
display on the other frame. Up to know it's fine. But when i deselcted
any check box it again display same name. My requirement is when i
deselected the checkbox that particular student name is deleted from
the list . Any one please give suggestion for above problem.
Iam using frames bcoz i want to dislay my result in another
frame.; Iam retriving a variable from database and displaying that
variable in another frame. Therfore It's compulsary to display the name
in the another frame.
I need help..
Any help from you will be appricited.

-Raju
TankQ.

Nov 8 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
11827
by: James Greig | last post by:
hello people, i'm just learning javascript, could someone point me in the direction of an example of the following, or give me some clues as to how it might be done: what i would like to do is make a self totalling version of this page > http://www.ayrshirehousing.org.uk/applications/applications.html so that basically as a person checked or unchecked boxes, a
4
1745
by: NaterPotater | last post by:
I can't seem to get my head around the Visual Studio's Deployment Projects: I want the user, at install-time, to be able to specify if they want a icon placed on the desktop or not (I'm trying to use Checkboxes(A)). Seemingly you can just place the Checkbox1Property Name into the User's Desktop Condition but that does not work. I actually saw an article that highlighted this process as "the way to do it", so I downloaded the source and...
5
2201
by: Dave D. | last post by:
I have a total of 8 checkboxes, but the user is only allowed to check any three of them. After have been checked I have an alert box saying that only 3 boxes can be checked. I'm trying to get so that it disable's the checkboxes that are not checked, but then if one of the three get unchecked, then all checkboxes become enabled again. Here's my code so far....(In Javascript) function chkCount() { var i = 0;
1
1681
by: Richard Johansson | last post by:
Hi, I want to create an option for creating shortcuts to my application on the users desktop and Start menu in the setup. In my deployment project i have created the necessary checkboxes, and tried to set Conditions on the folders "User's desktop" and "User's Program Menu", but the conditions doesnt seem to affect shortcuts, only physical files... Have anyone else run into these kinds of problems, or am i just missing something obvious...
17
1900
by: rajbala | last post by:
Hi all, I created two forms. In the first frame i had Items with checkbox like names of students etc. When ever i checked on any name It's display on the other frame. Up to know it's fine. But when i deselcted any check box it again display same name. My requirement is when i deselected the checkbox that particular student name is deleted from the list . Any one please give suggestion for above problem. ...
10
5209
by: rn5a | last post by:
All the rows in a DataGrid, including the Header, are accompanied with a CheckBox. I want that when the CheckBox in the Header is checked, then all the CheckBoxes should automatically get checked. I set the AutoPostBack property of the CheckBox in the Header to True & am invoking a sub named 'CheckAllRows' on the CheckedChanged event of this CheckBox. The CheckBox in the Header exists within the HeaderTemplate of a TemplateColumn in the...
6
1944
blazedaces
by: blazedaces | last post by:
Hey, so here's an example of what I want to do: This "window" if you will, or simple gui, will accept an ArrayList<String> and in turn spit out for every one of them a checkbox and a text field where you can rename it to whatever name you chose (later I'll add something to check and make sure none of the names are the same... but for now it doesn't matter). I'm not very familiar with GUI in java so I don't know the best way of doing this. ...
14
2112
by: tdahsu | last post by:
I have twenty-five checkboxes I need to create (don't ask): self.checkbox1 = ... self.checkbox2 = ... .. .. .. self.checkbox25 = ... Right now, my code has 25 lines in it, one for each checkbox, since
1
1498
by: harry_noble1902 | last post by:
Hello I have a "solution" that has 7 VB.Net projects in it. Some of the VB.Net projects are dll librarys but 3 are applications (so there are 7-3=4 dlls) I want to install with a setup program/application. I have created a Setup application as part of my "solution" using the wizard. One of the windows in my Setup application has a check box that says "Install Application 1". Another checkbox says "Install Application 2". The last one...
0
9471
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10136
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10071
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9925
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8958
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7478
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6723
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
3631
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2867
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.