Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-09-2006, 10:07 AM   PM User | #1
feras_wilson
Regular Coder

 
feras_wilson's Avatar
 
Join Date: Jul 2005
Location: Sweden
Posts: 129
Thanks: 1
Thanked 0 Times in 0 Posts
feras_wilson is an unknown quantity at this point
Question Images Help

Hi all!
I have some images in a layer which is contenteditable and a dropdown. when i add a image, images name add to the dropdown. I need to know how to when i select the images then delete, the images name remove/delete from the drop down!
I need the code which remove the image name from the dropdown!
Can some one help me?
Code:
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Ny sida 1</title>
</head>

<body>

<p><select size="1" name="D1">
<option value="Image 1">Image 1</option>
<option value="Image 2">Image 2</option>
</select></p>
<div style="border:1px solid #000000;width: 403px; height: 256px; z-index: 1" id="lager1">
<img border="0" src="someImage" width="101" name="Image 1" height="107">&nbsp;
<img border="0" src="someImage" width="101" name="Image 2" height="107"></div>

<p>I want when i select the image and delete it, then dropdown option remove</p>

</body>

</html>
__________________
Exp:
PHP
.NET

Last edited by feras_wilson; 07-09-2006 at 10:39 AM..
feras_wilson is offline   Reply With Quote
Old 07-09-2006, 10:44 AM   PM User | #2
vwphillips
Senior Coder

 
Join Date: Mar 2005
Location: Portsmouth UK
Posts: 4,354
Thanks: 3
Thanked 458 Times in 445 Posts
vwphillips is a jewel in the roughvwphillips is a jewel in the roughvwphillips is a jewel in the rough
to save wasting someone elses time

http://www.codingforums.com/showthread.php?t=90612
__________________
Vic

God Loves You and will never love you less.

http://www.vicsjavascripts.org.uk/

If my post has been useful please donate to http://www.operationsmile.org.uk/
vwphillips is offline   Reply With Quote
Old 07-09-2006, 10:48 AM   PM User | #3
feras_wilson
Regular Coder

 
feras_wilson's Avatar
 
Join Date: Jul 2005
Location: Sweden
Posts: 129
Thanks: 1
Thanked 0 Times in 0 Posts
feras_wilson is an unknown quantity at this point
But i said when i press delete, not when i select the drop down
__________________
Exp:
PHP
.NET
feras_wilson is offline   Reply With Quote
Old 07-09-2006, 11:28 AM   PM User | #4
vwphillips
Senior Coder

 
Join Date: Mar 2005
Location: Portsmouth UK
Posts: 4,354
Thanks: 3
Thanked 458 Times in 445 Posts
vwphillips is a jewel in the roughvwphillips is a jewel in the roughvwphillips is a jewel in the rough
Code:
I need to know how to when i select the images then delete, the images name remove/delete from the drop down!
WHERE is 'PRESS'
__________________
Vic

God Loves You and will never love you less.

http://www.vicsjavascripts.org.uk/

If my post has been useful please donate to http://www.operationsmile.org.uk/
vwphillips is offline   Reply With Quote
Old 07-09-2006, 11:41 AM   PM User | #5
feras_wilson
Regular Coder

 
feras_wilson's Avatar
 
Join Date: Jul 2005
Location: Sweden
Posts: 129
Thanks: 1
Thanked 0 Times in 0 Posts
feras_wilson is an unknown quantity at this point
When i press the button Delete
__________________
Exp:
PHP
.NET
feras_wilson is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:28 AM.


Advertisement
Log in to turn off these ads.