This is my code alert () in Nay every time
function Apdetskor (verb ) {var Kukiyarry = Dokyumentkkukiksplit ( ";"); Var encoded URL = cookie [2]; Var decodedURL = decodeurIComponent (encoded URL); Do // Czech that if cookie exists (decoded URL == "undefined") {set cookies ( "Ararkukisi_skor", "0", 1)} var oldScore = decodedURL.split ( '='); // warning (oldscore [1]); Var oldScoreInt = parseInt (oldscore); Var newScore = old source entity + 1; Warning (newScore); }
Have you tried
var oldScoreInt = ParseInt (oldScore [1]); The old array is an array due to the work being used for older parseInt (oldscore) Additionally, if the URL contains multiple parameters, then the entire code will need to be re-considered.
T.
Comments
Post a Comment