Got some help on it from stackoverflow.
It is actually a DOM object that is returned, and the html can be extracted
using outerHTML property.
Thanks,
Murtaza
On Friday, June 22, 2012 6:49:08 PM UTC+5:30, Dave Sann wrote:
>
> actually - not quite true
>
> You could always extract the html from
actually - not quite true
You could always extract the html from the generated element using std
browser functions, jquery or similar.
On Friday, 22 June 2012 23:16:56 UTC+10, Dave Sann wrote:
>
> you can't
>
> I believe that the code is designed to specifically bypass strings.
>
> Why do you w
you can't
I believe that the code is designed to specifically bypass strings.
Why do you want a string in the client?
On Friday, 22 June 2012 20:38:09 UTC+10, Murtaza Husain wrote:
>
>
> Nope doesnt work.
>
>
> On Friday, June 22, 2012 4:05:13 PM UTC+5:30, bsmith.occs wrote:
>>
>> str
>>
>> O
Nope doesnt work.
On Friday, June 22, 2012 4:05:13 PM UTC+5:30, bsmith.occs wrote:
>
> str
>
> On Fri, Jun 22, 2012 at 11:58 AM, Murtaza Husain
> wrote:
> >
> > Hi,
> >
> > I am using Chris Ganger's crate library to generate html on the client
> side.
> >
> >
> > (defpartial html
str
On Fri, Jun 22, 2012 at 11:58 AM, Murtaza Husain
wrote:
>
> Hi,
>
> I am using Chris Ganger's crate library to generate html on the client side.
>
>
> (defpartial html [] form)
>
> (def form
> [:div.form-horizontal
> [:fieldset
> [:legend "Student Registeration"]
Hi,
I am using Chris Ganger's crate library to generate html on the client
side.
(defpartial html [] form)
(def form
[:div.form-horizontal
[:fieldset
[:legend "Student Registeration"]
[:div.control-group
[:label.control-label "Hello World"]]