How to decode URL parameter using AngularJS or JavaScript? -


i have value pass on url parameter original value looks this:

1436641259169/ndfmdmva 

when gets passed on converts this:

1436641259169%252fndfmdmva 

so, how convert when pull down?

this may you: decodeuricomponent

decodeuricomponent(string); 

example:

decodeuricomponent(decodeuricomponent("1436641259169%252fndfmdmva")) > "1436641259169/ndfmdmva" 

Comments

Popular posts from this blog

php - Hide output during test execution -

javascript - Migrate custom AngularJS filter from 1.2.28 to 1.4.x -

Update Magento products with multiple images -