senchalabs / jQTouch

Create powerful mobile apps with just HTML, CSS, and Zepto.js (or jQuery).
http://www.jqtouch.com/
MIT License
2.79k stars 592 forks source link

replaceWith Not Working #498

Closed bros4bros closed 10 years ago

bros4bros commented 10 years ago

I am trying to replace HTML with HTML via AJAX, and replaceWith is not working. Zepto gives an error message. $('#thread_box').replaceWith(ajax_data);

thomasyip commented 10 years ago

Look like you use a feature that Zepto does not support. Probably just use jquery then.