I have this code so far:
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
http://www.w3.org/TR/html4/loose.dtd;
html
head
script src=http://code.jquery.com/jquery-latest.js;/script
script
$(document).ready(function(){
$(document.body).click(function ()
There is no reliable way of fixing that in JavaScript, which is
strongly dependant on having a well-formed DOM structure to work
with. Besides, it would be a waste of processor cycles on the client
side. Surely it couldn't be difficult for the server side developers
to fix the scripts that
You could simply wrap the php file in another php file that does
ob_start() then includes the other php file, ob_get_contents(), edit the
code appropriately and then dump it.
Would be my suggestion... Broken DOM leads to many problems, one of
which is jQuery wont be able to find selectors
Hi,
I've got a friend that bought a booking app a view months back. Now
there is something wrong with implementation, because every time a
particular (class=select_chalet) div is opened, it won't be closed.
So, instead of waiting for the fix repair bill, i wanted to try
something else.
This is
Maurice,
I really would suggest that you get with the booking app developer and have
them fix it. This is, assuming you guys made no change to the app, a bug in
the app and would/should fall back to them. Did you call them to find out
if this is a known issue and if they will send you an updated
The only way to attempt to accomplish that would be to read the
innerHTML, append the /div in text, and rewrite the innerHTML for
the select_chalet_content divs. However, since the HTML is improper
and the divs are not closed, jQuery could potentially grab anything to
*everything* after div
6 matches
Mail list logo