/ Published in: JavaScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
var l = String(window.location).split('/') var action = l[l.length-1].split('?')[0]