Welcome Guest, Not a member yet? Register   Sign In
avoid escape $this->db->get();
#8

[eluser]luca89pe[/eluser]
[quote author="Herlevsen" date="1369388001"]I must have been very tired when i wrote my reply. I see now that you dont want to output the <br>, but just want a new line, when i thought it was the opposite (which seemed pretty strange).

It is your jquery that escapes it, when you use the text method

Code:
$("#prodName").text($(this).attr("data-nome"));
http://api.jquery.com/text/

Instead you need to use the html method
http://api.jquery.com/html/[/quote]

omg, that's all! thank you!!!! i tought codeigniter was the one that escaped the text, instead of jquery!

Thank's to TheFuzzy0ne too, but Herlevsen centered the problem!!!!!!!

Thank you guys!!! Smile


Messages In This Thread
avoid escape $this->db->get(); - by El Forum - 05-21-2013, 07:28 AM
avoid escape $this->db->get(); - by El Forum - 05-21-2013, 12:10 PM
avoid escape $this->db->get(); - by El Forum - 05-22-2013, 04:10 AM
avoid escape $this->db->get(); - by El Forum - 05-23-2013, 04:39 PM
avoid escape $this->db->get(); - by El Forum - 05-23-2013, 05:43 PM
avoid escape $this->db->get(); - by El Forum - 05-24-2013, 01:55 AM
avoid escape $this->db->get(); - by El Forum - 05-24-2013, 02:33 AM
avoid escape $this->db->get(); - by El Forum - 05-24-2013, 04:25 AM
avoid escape $this->db->get(); - by El Forum - 05-24-2013, 05:08 AM



Theme © iAndrew 2016 - Forum software by © MyBB