Forum: Ruby on Rails View source after AJAX update?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
2b891e820c238ded365d035771603f21?d=identicon&s=25 Bill Walton (Guest)
on 2006-04-03 20:07
(Received via mailing list)
Does anyone know how to view the new source in IE after an AJAX update?
When I "view -> source" I get the original page source, not the page
source as updated.

Thanks in advance,
Bill
3bef3fc4d0cbcf58f3d66c106e2fd16f?d=identicon&s=25 Mark Van Holstyn (Guest)
on 2006-04-03 20:13
(Received via mailing list)
with firefox 1.5 and the developer plugin you can choose "view generated
source" ( i think that what it is called).

mark
6edd67c92a1dab5eb23fed79f3c18564?d=identicon&s=25 David Heinemeier Hansson (Guest)
on 2006-04-03 20:14
(Received via mailing list)
> Does anyone know how to view the new source in IE after an AJAX update?
> When I "view -> source" I get the original page source, not the page source
> as updated.
>
> Thanks in advance,

That goes for any type of Javascript that changes the DOM. I recommend
using Firefox and getting the Firebug plugin if you want to debug the
DOM and Ajax updates. It's a fantastic combination.
--
David Heinemeier Hansson
http://www.loudthinking.com -- Broadcasting Brain
http://www.basecamphq.com   -- Online project management
http://www.backpackit.com   -- Personal information manager
http://www.rubyonrails.com  -- Web-application framework
50c1f2f516dfe5b6256ec9f62a949ba6?d=identicon&s=25 Marlon Moyer (Guest)
on 2006-04-03 20:23
(Received via mailing list)
You can download the Internet Explorer Developer Toolbar.  It will show
you
the DOM object live.  It's not viewing the source, but actually a live
DOM
object
50c1f2f516dfe5b6256ec9f62a949ba6?d=identicon&s=25 Marlon Moyer (Guest)
on 2006-04-03 20:26
(Received via mailing list)
855aa860a8091526955d00cd181ed348?d=identicon&s=25 drakepad (Guest)
on 2006-04-03 20:26
(Received via mailing list)
For IE you could use Instant Source:
http://www.blazingtools.com/is.html. It
has some features that are not (yet) implemented in any Firefox plugin
AFAIK...
89d967359903c639d31e4cad4569f537?d=identicon&s=25 Charlie Bowman (Guest)
on 2006-04-03 20:29
(Received via mailing list)
In firefox, you can just hightlight any part of the page and then select
view selected source to view the updated dom.
2b891e820c238ded365d035771603f21?d=identicon&s=25 Bill Walton (Guest)
on 2006-04-03 21:58
(Received via mailing list)
Thanks!  I'm pretty sure I'm going to need this since it's now working
fine on Firefox but not at all on IE.  This might be just what I need to
figure out why.

Best regards,
Bill
  ----- Original Message -----
  From: drakepad
  To: rails@lists.rubyonrails.org
  Sent: 2006-04-03 1:24 PM
  Subject: Re: [Rails] View source after AJAX update?


  For IE you could use Instant Source:
http://www.blazingtools.com/is.html. It has some features that are not
(yet) implemented in any Firefox plugin AFAIK...



------------------------------------------------------------------------------


  _______________________________________________
  Rails mailing list
  Rails@lists.rubyonrails.org
  http://lists.rubyonrails.org/mailman/listinfo/rails
2b891e820c238ded365d035771603f21?d=identicon&s=25 Bill Walton (Guest)
on 2006-04-03 21:58
(Received via mailing list)
Thanks, Marlon.  I appreciate it!

Best regards,
Bill
  ----- Original Message -----
  From: Marlon Moyer
  To: rails@lists.rubyonrails.org
  Sent: 2006-04-03 1:22 PM
  Subject: Re: [Rails] View source after AJAX update?


  forgot the link :)

  http://www.microsoft.com/downloads/details.aspx?Fa...



  On 4/3/06, Marlon Moyer <marlon.moyer@gmail.com> wrote:
    You can download the Internet Explorer Developer Toolbar.  It will
show you the DOM object live.  It's not viewing the source, but actually
a live DOM object


    On 4/3/06, Bill Walton <bill.walton@charter.net > wrote:
    Does anyone know how to view the new source in IE after an AJAX
update?  When I "view -> source" I get the original page source, not the
page source as updated.

    Thanks in advance,
    Bill


    ______________________________ _________________

    Rails mailing list
    Rails@lists.rubyonrails.org
    http://lists.rubyonrails.org/mailman/listinfo/rails






    --

    Marlon





  --
  Marlon




------------------------------------------------------------------------------


  _______________________________________________
  Rails mailing list
  Rails@lists.rubyonrails.org
  http://lists.rubyonrails.org/mailman/listinfo/rails
2b891e820c238ded365d035771603f21?d=identicon&s=25 Bill Walton (Guest)
on 2006-04-03 22:01
(Received via mailing list)
Thanks David.  Perfect.  Code works fine now in Firefox.  Firebug helped
me
see what I was doing wrong.  Only problem now is that what works great
in
Firefox doesn't work at all in IE ;-(  Any suggestions on tools for that
environment?

Best regards,
Bill

----- Original Message -----
From: "David Heinemeier Hansson" <david.heinemeier@gmail.com>
To: <rails@lists.rubyonrails.org>
Sent: 2006-04-03 1:11 PM
Subject: Re: [Rails] View source after AJAX update?


> Does anyone know how to view the new source in IE after an AJAX update?
> When I "view -> source" I get the original page source, not the page
source
> as updated.
>
> Thanks in advance,

That goes for any type of Javascript that changes the DOM. I recommend
using Firefox and getting the Firebug plugin if you want to debug the
DOM and Ajax updates. It's a fantastic combination.
--
David Heinemeier Hansson
http://www.loudthinking.com -- Broadcasting Brain
http://www.basecamphq.com   -- Online project management
http://www.backpackit.com   -- Personal information manager
http://www.rubyonrails.com  -- Web-application framework
_______________________________________________
Rails mailing list
Rails@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails
E813e9cc70159e103a64a5237c0d3ee2?d=identicon&s=25 Thomas Fuchs (Guest)
on 2006-04-03 22:04
(Received via mailing list)
You can do:

alert(document.body.innerHTML);

Am 03.04.2006 um 21:44 schrieb Bill Walton:
4005a47a8f2ceee49670b920593c1d52?d=identicon&s=25 Ben Munat (Guest)
on 2006-04-04 04:56
(Received via mailing list)
Yeah, and if anyone uses firebug but hasn't updated to 0.3, definitely
do it now... looks
like a complete rework... waaaay more powerful.

b
This topic is locked and can not be replied to.