|
-
Mar 9th, 2001, 01:29 PM
#1
Thread Starter
Member
Hi all,
I need to rename the input text field, eg. text.htm to text.asp. I think I have seem this post on here a month ago, but was not able to search it. Any lead lead to the right direction will be most appreciate.
thanks
-
Mar 9th, 2001, 01:32 PM
#2
rename a text field or a filename? Do you actually have a text field named text.htm?
-
Mar 9th, 2001, 01:41 PM
#3
I am going to assume you want to dynamically change the name attribute of a text field. with javascript you could do it this way.
document.formname.textfieldname.name = "new name"
-
Mar 9th, 2001, 01:41 PM
#4
Thread Starter
Member
rename the text field...not filename.
-
Mar 9th, 2001, 01:42 PM
#5
saee above and tell me if thats not what you are looking for. If it isnt , please explain a little further what you are trying to accomplish.
-
Mar 9th, 2001, 01:54 PM
#6
Thread Starter
Member
thank-you for your help, I find the answer with replace function.
Replace(expression, find, replacewith[, start[, count[, compare]]])
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|