//function is called using x$("#{id:inputText1}", " parameters"). function x$(idTag, param){ //Updated 18 Feb 2012 idTag=idTag.replace(/:/gi, "\\:")+(param ? param : ""); return($("#"+idTag)); }