Error Javascript function. $.toJSON

Question:

I'm running a script that was passed on to me by a third party. And it's giving the following error:

TypeError: $.toJSON is not a function
QtdeQuartos: $.toJSON(qtdQuartos),

Answer:

The script probably makes use of the jquery-json library. Download it and include it in your project.

Scroll to Top