0

Is there any way to trick the browser (IE) to add the href attribute, into an <a> tag, that have more than 5000 characters? Chrome and Firefox seems to work with long href strings.

Mincho Minchev
  • 222
  • 3
  • 13
  • 3
    why do you have a href that's so long - the more relevant question is probably "what alternatives do I have to ?" – AD7six Nov 12 '13 at 08:35
  • 1
    You seem to be looking in the wrong direction. Look for POST requests. – Denys Séguret Nov 12 '13 at 08:35
  • From [this question](http://stackoverflow.com/questions/19923997/cant-change-href-attribute-of-an-a-tag-in-ie-10) it seems likely you're trying to embed an xls file as a data-uri (???) - You need to rethink your solution, rather than try and fight the problems with your general approach (e.g. you need to point at a file). – AD7six Nov 12 '13 at 08:37

1 Answers1

1

In short no, this is a browser restriction and can vary throughout all the browser variations.

You need to find a different way to achieve what you are trying to do as you shouldn't need to use 5000 chars in a Url.

webnoob
  • 15,747
  • 13
  • 83
  • 165