Как я мог сделать что -то вроде этого: < /p>
$(document).ready(function () {
if(window.location.contains("franky")) // This doesn't work, any suggestions?
{
alert("your url contains the name franky");
}
});
Подробнее здесь: https://stackoverflow.com/questions/459 ... ven-string