Archive for March, 2008

 

How to access iframe in jQuery

Assuming you have

1
  <iframe id="iframeID" ...></iframe>

Iframe contains div with id=”someID”:

1
  <div id="someID">Hello world!</div>

Need get div’s text?

1
  $('#iframeID').contents().find('#someID').html();

just few words

1.5 months ago, 6 weeks or 42 days. I haven’t updated my simple blog since that time.

I haven’t a time to deal with my CakePHP projects, but got a pretty nice experience with other things.

Currently I work with Propel based custom framework with extensive usage of jQuery which I found very nice and going to use with CakePHP (when I have a time of course :) ).

Propel is very handy thing as well, it plays role of database communication layer, in other words Propel is ‘model’ component of a framework.

Well, I’m new to these things and sometimes spend a lot of time to figure simple things, but I’m sure when say “Propel rocks! jQuery rocks!” :)