0

I have a form that has dynamically loadded elements. These elements will increase in future.

My concern is if IE 7 and 8 will not support very long GET urls. I could do a POST, but GET is much faster.

What I am looking for is a compressor that can take alphabetical strings and turn them into numerical digits. In JS so the get redirect would be like

example.com/abc.php?6=1&2=0&3=1&4=2&5=1

The values would be either 0, 1, 2 or on for check boxes.

Please share your thoughts on how we can acheive this?

Thanks,

Suvash sarker
  • 3,140
  • 1
  • 18
  • 21
Mir Adnan
  • 844
  • 11
  • 24

1 Answers1

0

This isn't intended to be an answer, but some links to check:

An efficient compression algorithm for short text strings

String compression in JavaScript

lz-string javascript string compression

...or perhaps AJAX over to a PHP routine

Community
  • 1
  • 1
cssyphus
  • 37,875
  • 18
  • 96
  • 111