<a href="javascript:change('page_details_1','time,restime\n1387519869249,1196\n1387519906965,1368\n........')><img src="expand.jpg" alt="expand/collapse" id="page_details_1_image"></a>
in href i am calling a javascript function "change". The second parameter "\n1387519869249,1196\n1387519906965,1368\n...." is a very long value about 5070 characters.but at 5052 characters the link works.
Is there a limit to number of characters that can pass through href? the data is used to generate trend graph . If there is such a limitation what would be the best way to pass such info to javascript function?