Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Removing characters from function

Status
Not open for further replies.

bryanfl100

Technical User
Joined
Dec 2, 2005
Messages
17
Location
US
Below is part of the javascipt:
<script>
function look_$data[computer.id](s){

When the actual search is done from the website the function results looks like this:
<script>
function look_Dell|Optiplex(s){

How do remove the character "|" from the function results so it looks like this:
<script>
function look_DellOptiplex(s){
 
You'll have to do that server-side in whatever language generates the function name. By the time the JS comes into play, it's already been delivered.

Hope this helps,
Dan



[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top