Using jQuery to set the SRC value of an iFrame.

Using jQuery to set the SRC value of an iFrame.

It works fine, but then changes back to the value in the original HTML, which is no SRC for the iFrame.

I thought when you make a change to an attribute, in this instance the iFrame's SRC, it would remain static until you changed it again. Is my thinking wrong on this? Or could something else be coming into play.

TIA