RickJ
asked on
Add links to pagle dynamically?
I currently have an ultra simple html page that contains some links to some of my favourite sites. I put the links in manually via the html source.
What I would like to do is add the links from the page itself. i.e.
Have a couple of text boxes, one for the title, one for the url and a button to add it to the list.
I click the button and it is then shown in the list on that page.
What is the easiest way to do this?
How do I do it?
Thanks for any help.
What I would like to do is add the links from the page itself. i.e.
Have a couple of text boxes, one for the title, one for the url and a button to add it to the list.
I click the button and it is then shown in the list on that page.
What is the easiest way to do this?
How do I do it?
Thanks for any help.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hi..
You can very well use text file...
Which server side scripting you are using???
The complete tutorial on how to create, read files:
IN ASP:
http://www.w3schools.com/asp/asp_ref_file.asp
IN PHP:
http://www.w3schools.com/php/php_file.asp
Other tutorials:::
In asp:
http://www.brainjar.com/asp/fileops/
http://support.microsoft.com/kb/300982
in PHP:
http://www.phpnerds.com/article/reading-and-writing-files
You can very well use text file...
Which server side scripting you are using???
The complete tutorial on how to create, read files:
IN ASP:
http://www.w3schools.com/asp/asp_ref_file.asp
IN PHP:
http://www.w3schools.com/php/php_file.asp
Other tutorials:::
In asp:
http://www.brainjar.com/asp/fileops/
http://support.microsoft.com/kb/300982
in PHP:
http://www.phpnerds.com/article/reading-and-writing-files
ASKER
Hello jawahar_prasad,
"Which server side scripting you are using???"
None, I was hoping to be able to do this client side, obviously not possible. The pages I have are some simple html files not running under any server.
I will most likely use asp, I have most of my experience with this.
Thanks for all your help. The file handling links are a great help.
Rick.
"Which server side scripting you are using???"
None, I was hoping to be able to do this client side, obviously not possible. The pages I have are some simple html files not running under any server.
I will most likely use asp, I have most of my experience with this.
Thanks for all your help. The file handling links are a great help.
Rick.
cool. ok. thank you.
ASKER
Can I just read a text file for the links?
Can you provide any code examples?