No Next Item No Next Conference Can't Favor Can't Forget Item List Conference Home Entrance    Help
View Responses


Grex Web Item 15: AJAX Discussion
Entered by nharmon on Tue Aug 28 19:48:44 UTC 2007:

Discuss AJAX web programming here.

7 responses total.



#1 of 7 by nharmon on Tue Aug 28 19:54:58 2007:

I'm writing this AJAX application and was finding that only parts of
certain elements, specifically anything before the first HTML tag in the
element.

So let's say you have an XML document and one of the elements is a name:

<name>John Smith <a href="mailto:johnsmith@cnbc.com">email</a></name>

You would think that the element would contain everything between <name>
and </name>, but it doesn't. It only includes everything between <name>
and <a...

And before you say anything along the lines of adding the e-mail address
as another element, this is only an example. Sometimes database fields
include HTML.


#2 of 7 by nharmon on Tue Aug 28 19:55:56 2007:

So, I'm wondering how you would go about passing the HTML though. Any ideas?


#3 of 7 by nharmon on Tue Aug 28 21:20:01 2007:

This is too good. Apparently the way to do this would be to write the 
element like this:


<name>John Smith &lt;a
href="mailto:johnsmith@cnbc.com"&gt;email&lt;/a&gt;</name>


#4 of 7 by mcnally on Wed Aug 29 01:19:21 2007:

 Sounds like you've got a stack problem in your XML parser.


#5 of 7 by trancequility on Thu Sep 13 02:48:49 2007:

nharmon hasn't learned what escape sequences are yet.


#6 of 7 by nharmon on Thu Sep 13 14:29:32 2007:

I have a feeling I knew about escape characters before you ever touched
Linux.


#7 of 7 by trancequility on Fri Sep 14 00:30:38 2007:

Is this why you couldn't get your original code to work you moron? If you knew
about escape chars, you wouldn't have posted such a retarded ass question you
fucking stupid shit.

Response not possible - You must register and login before posting.

No Next Item No Next Conference Can't Favor Can't Forget Item List Conference Home Entrance    Help

- Backtalk version 1.3.30 - Copyright 1996-2006, Jan Wolter and Steve Weiss