Find Jobs
Hire Freelancers

Delete xml element with javascript function

$10-30 USD

Completed
Posted over 9 years ago

$10-30 USD

Paid on delivery
I have an XML Data library of items. What I need a javascript function that deletes a selected element on a button click. Here is the structure: <items> <item> <Id>1</Id> <Nr>1</Nr> <Name>Title 1</Name> <Description>Description 1</Description> <SelectedItemOpt1>Option 1.0</SelectedItemOpt1> <SelectedItemOpt2>Option 1.1</SelectedItemOpt2> <SelectedItemOpt3>Option 1.2</SelectedItemOpt3> <SelectedItemType>Option 1.3</SelectedItemType> <SelectedItemPrice>Price 1</SelectedItemPrice> <SelectedDrinkType>Drink 1</SelectedDrinkType> <SelectedItemIng>Ing Type 1</SelectedItemIng> <Note>Note 1</Note> <ItemQty>1</ItemQty> </item> <item> <Id>2</Id> <Nr>2</Nr> <Name>Title 2</Name> <Description>Description 2</Description> <SelectedItemOpt1>Option 2.0</SelectedItemOpt1> <SelectedItemOpt2>Option 2.1</SelectedItemOpt2> <SelectedItemOpt3>Option 2.2</SelectedItemOpt3> <SelectedItemType>Option 2.3</SelectedItemType> <SelectedItemPrice>Price 2</SelectedItemPrice> <SelectedDrinkType>Drink 2</SelectedDrinkType> <SelectedItemIng>Ing Type 2</SelectedItemIng> <Note>Note 2</Note> <ItemQty>2</ItemQty> </item> <item> <Id>3</Id> <Nr>3</Nr> <Name>Title 3</Name> <Description>Description 3</Description> <SelectedItemOpt1>Option 3.0</SelectedItemOpt1> <SelectedItemOpt2>Option 3.1</SelectedItemOpt2> <SelectedItemOpt3>Option 3.2</SelectedItemOpt3> <SelectedItemType>Option 3.3</SelectedItemType> <SelectedItemPrice>Price 3</SelectedItemPrice> <SelectedDrinkType>Drink 3</SelectedDrinkType> <SelectedItemIng>Ing Type 3</SelectedItemIng> <Note>Note 3</Note> <ItemQty>3</ItemQty> </item> <item> <Id>4</Id> <Nr>4</Nr> <Name>Title 5</Name> <Description>Description 5</Description> <SelectedItemOpt1>Option 5.0</SelectedItemOpt1> <SelectedItemOpt2>Option 5.1</SelectedItemOpt2> <SelectedItemOpt3>Option 5.2</SelectedItemOpt3> <SelectedItemType>Option 5.3</SelectedItemType> <SelectedItemPrice>Price 5</SelectedItemPrice> <SelectedDrinkType>Drink 5</SelectedDrinkType> <SelectedItemIng>Ing Type 5</SelectedItemIng> <Note>Note 5</Note> <ItemQty>5</ItemQty> </item> </items> So lets say I would want to delete item with Id == 3, I click a button and remove completely from the list Best regards Dave
Project ID: 6180017

About the project

5 proposals
Remote project
Active 10 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
please check my profile for the javascript projects i have been completing, I can write the function for you. please PM me with the details and we can start right away. Best Regards.
$15 USD in 0 day
5.0 (17 reviews)
4.1
4.1
5 freelancers are bidding on average $15 USD for this job
User Avatar
Hi , I have finished your project. When you award project I will send you code. PS read my reviews. Regards
$15 USD in 0 day
5.0 (75 reviews)
6.6
6.6
User Avatar
Ready to start. Very good expertise in web technologies. Can finish this project efficiently. I have more than 9 years of experience in web technologies. I have very good experience in development of websites and web portals like the shopping carts, banking portal, etc. Worked on integration of various Payment Gateway into websites and implemented open source products. I am very anxious to develop a relationship with you and I would be grateful for any opportunity to enable me to earn your confidence in our services. I can personally assure you that your business is very meaningful to me and will receive the highest degree of attention and that your confidence in me will not be misplaced.
$15 USD in 1 day
4.9 (6 reviews)
4.8
4.8
User Avatar
A proposal has not yet been provided
$15 USD in 0 day
0.0 (0 reviews)
0.0
0.0
User Avatar
i'm new here at freelancer but i've done this before. i'll send immediately the file once i found it in my drive as long as you grant me this project.
$15 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of ICELAND
Frederiksberg, Iceland
5.0
16
Payment method verified
Member since Nov 15, 2012

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.