serach(name, url) function

search(name, url)



search(name, url)


Function Work :- 

This Function basically Returns the value of Query String by the parameter name in the URL . If Your URL  is https://website.com/u?v=vimeo&c=rat&d=domestic then Run search('v') function that will return vimeo .

Here , url is an optional Parameter By default url is website's current url but is you want     to use another string values then use the url Parameter.

 

Function Structure :- 


    search(name, url)
    

Function Parameters :-

    1. name - Required

    2. url = Optional


إرسال تعليق

Post a Comment (0)

أحدث أقدم