473,387 Members | 1,749 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

JavaScript Island Xml - how to add new data !?

29
hellow all

i have an xml file

that contains a peoples names and Tel. Number

i want to add two textboxs in the java script and one button

and when i write name in the textbox one and tel number in text box 2 and press at the button it add the values to the xml file

how can i do this !?!?
Mar 3 '07 #1
6 1681
MCPD
29
any help ?!
Mar 3 '07 #2
acoder
16,027 Expert Mod 8TB
Is this for your own use or is it for the Internet? If it's for your own use, you can use the fileSystemObject ActiveX object using VBScript for Internet Explorer. See this page. You will have to read and parse the XML.
Mar 3 '07 #3
acoder
16,027 Expert Mod 8TB
any help ?!
Hmm.. it is Saturday. It can take a few hours before you get a response.
Mar 3 '07 #4
MCPD
29
thanx man

but this page u give me talking about files and not xml's

i want any hint to write this in javascript not vbscript
Mar 4 '07 #5
MCPD
29
please i need help
Mar 4 '07 #6
acoder
16,027 Expert Mod 8TB
thanx man

but this page u give me talking about files and not xml's

i want any hint to write this in javascript not vbscript
Then the only way is to do this on the server side with the help of some Javascript too. You can't write to the server side with Javascript alone. You can use Ajax (XMLHttpRequest) or iframes as described in this XML importing script. If just reading XML files has restrictions you can imagine how and why writing would be impossible with client-side Javascript.

What have you managed so far? I think you will need some server-side code for this. Give the code and I can help you with the Javascript.
Mar 5 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Tim | last post by:
I've been working on this for over a week now, and just can't get this figured out. Hoping one of you gurus can help me out here. I have an xml data island that I'm representing on an htm page as...
9
by: vinodbijlani | last post by:
Guys, I want to access all the <div> tags on my page. below is javascript which is use to access them var divs=document.getElementsByTagName("div"); this works on IE but is failing on Pocket PC...
3
by: Nicole Schenk | last post by:
I need to know the code I must write to respond xml to a data island as a result from a src request from the data island. Thanks so much
1
by: Mark Goldin | last post by:
Is there a control that would act as an xml data island? Another words, it can store static xml data and deliver it to the client side? Thanks
3
by: Pat Alessi | last post by:
I want to use an XML data island to display editable records to a user on the cleint side. The user should be able to scroll through the records, modify any or all fields in any or all records, add...
2
by: adolf garlic | last post by:
I have an aspx which has some client side script. The client side part of the page also features an xml data island What I want to be able to do is to get at the data island from the server...
67
by: Robert | last post by:
Hi, I have been reading the article at http://www.crockford.com/javascript/private.html and I was wondering if there also was some way to be able to have private methods that can be called from...
4
by: Adam Smith | last post by:
Hello, How can I call or trigger an external javascript twice in a form? I have <script language="JavaScript" src="country_state.js" name="Country_State"> <script type="text/javascript"...
1
by: TRAPozoid9 | last post by:
I have an XML Data Island on the page as such: <xml src="" onreadystatechange="onStockChange(this, 'stockPanelId')" id="runtimeStockDataId"></xml> I use this to update a stocks table on the...
8
by: Mateusz Viste | last post by:
Hi, I'm not sure if my question is really related to JavaScript, so please excuse me if that's not the case (and maybe you guys would have an idea what's the cause is and where could I ask)... ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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...

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.