Erlang Mailing Lists

Author Message

<  Erlang Web mailing list  ~  [Erlangweb-users] erlang web and jquery

Guest
Posted: Sun Nov 01, 2009 12:46 am Reply with quote
Guest
Hi,

I am really new to earlang web, started using it today as a matter of fact. I have been using beepbeep but the lack of i18n caused me to look further afield for something I needed and erlang web fits the bill. However, in moving to erlang web I seem to have hit a snag. I have found that the inclusion of jquery causes my page not to display, at least in Firefox and Lynx though it does display in Safari albeit without Jquery working properly.I have pared down my code to the barest minimum which I have below: moimoi
moimoi
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
Guest
Posted: Sun Nov 01, 2009 6:46 pm Reply with quote
Guest
Hi

instead of
mhenoch
Posted: Mon Nov 02, 2009 2:22 pm Reply with quote
User Joined: 06 Nov 2008 Posts: 29
A mismatch between XHTML and HTML, it seems: the web browser, acting in
HTML mode, doesn't understand the empty <script/> tag but expects an
explicit closing tag. On the other hand, Erlang Web, thinking in XML,
doesn't understand what's wrong with using an empty tag here. This also
happens for <textarea/>.

I think this could be prevented in wpart_xs:export_tag/3, by making sure
that certain tags are never output in empty form. Something like this:



Post received from mailinglist
View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum