jQuery cookie plugin - save and call parsetInt() values

I'm new to JS. I have a script wich should count clicks and store clicks number value in cookie. The problem is i cant currectly save and call clicks number(generated by parseInt) value from cookies.

Here is the code http://jsfiddle.net/csTpG/99/ (using jquery.cookie plugin)

Yup parseInt() shows NaN.

Need help!

Answers


I updated your script to make it work (i included jQuery.cookie plugin for example) , look here http://jsfiddle.net/nicolapeluchetti/csTpG/100/ but there are still some issues. You get NaN when you do a parseInt because you are trying to parse an html page that returns from your ajax call. What are you trying to do?


Need Your Help

C# 20,000 records selected from oracle need to be inserted into SQL2005

sql-server sql-server-2005 oracle bulkinsert

i have a console app in c# that extracts 20 fields from an oracle DB witht he code below and i wanted an efficient way to insert them into SQL 2005.

NamedPipe binary messages

c# wcf named-pipes

Simple question (details follow) : how to use named pipes, without soap serialization, i just want to have on method and read the byte array myself. I'm trying to implement a service that does not ...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.