I would like to as some help.
Is there a certain method in javascript/jquery that would act like
the str_replace in php?
i mean, example if i have a string like this : "l.123.aa-b"
i would replace all . and - into #.
in php you would do something like this:
$a = l.123.aa-b;
$new_str = str_replace(array('-','.'),'#',$a);
any help would be appreciated.
thanks.
just call
'string'.replace()