Hi, I have made a custom file browser for links.
It insert the URL allright, but now I need it to also change the value of 'procol' to <other>, so that relative links will work.
What javascript function would I use for that?
(Have been searching a few hours for this function, but I can't figure it out).
Thanks,
Andreas
It insert the URL allright, but now I need it to also change the value of 'procol' to <other>, so that relative links will work.
What javascript function would I use for that?
(Have been searching a few hours for this function, but I can't figure it out).
Thanks,
Andreas
Re: How do I change protocol for Links?
At least point to the right API to use in this situation. Please :-S.
Re: How do I change protocol for Links?
You'll have to change the "this" depending on where you're calling the method from, in my example I was in the "validates" function of the "url" input. Let me know how you get the dialog if you're calling it externally.
Hope that helps.
Re: How do I change protocol for Links?
Im using a file browser in an external window, so the following code worked for me:
Where do I find the names of each element to use in this setValue function?
Re: How do I change protocol for Links?
e.g: ('info','linkType')