on-internet
← Community

How to concatenate one string with part of another with jQuery

Stack Overflow ·

I'm trying to concatenate a string in a div with jQuery. Here is my code: var server = 'server name: ' $('#div').load('myservername.aspx'); I'd like to display: server name: myserver How can I best achieve this?

Comments

Sign in or sign up to comment and upvote.

No comments yet.