[/code] With the Browse button I get a full file pathname including backslashes. The javascript is: [code] function p_Upload() { alert(document.forms[0].p_pict.value); } [/code] The alert displays only the file name. Everything up to the last backslash ..." href="/programming/web-development/threads/411533/truncation-of-file-path-at-last-backslash"> Truncation of file path at last backslash. 2
Reach out to all the awesome people in our web development community by starting your own topic. We equally welcome both specific questions as well as open-ended discussions.