JqueryExtends.js

API and Example


  • Parse URL into array by default operator '?'
# inpt
# |- token : the parameter
# retn : string
# e.g. : http://localhost/?token=example
$.getUrlVar(token)  // return "example"
  • Show network type
# inpt
# |- operator : e.g. '?' or '#'
# |- token : the parameter
# retn : string
# e.g. : http://localhost/#token=example
$.getUrlVarsByChar(operator,token);  // return "example"

results matching ""

    No results matching ""