Replace {appdomain} in href="http://mail.google.com/a/{appdomain}"
well the title is basically it.
I am giving the user the ability to enter an app domain and i am using {appdomain} as a placeholder.
so i need something like
- $('#textbox').change(function(){
- replace('{appdomain}', $('#textbox').val();
- });
the only part i am stuck on is a function like replace() as i dont believe jquery has one.
{appdomain] is in links in a div with class of ghap.