jquery - Need help selecting url that has http:// or just // -
 I am searching for my domain and iframe src on   How can I convert it to something that raises both versions of the URL:      This will match both.    http://www.youtube.com  The problem is that I am currently doing this, this URL is  // www.youtube.com , which sometimes happens.   
 $ youtube = $ ("iframe [src = = 'http: // www .youtube.com '] "); You can use the "Selector" attribute selector,  * = >     :  
 
 $ youtube = $ ("iframe [src * = '// www.youtube.com']");   
 
Comments
Post a Comment