Is there a way to change the Alert box title bar text

Hi,

I cant find an answer to this, but the topic is a tricky one to google.

render :update do |page|
page.alert(‘called’)
end

alert only takes one parameter.

Does anyone know if there is a way to dynamically change the text
displayed in the pop up title bar.

Thanks
Tonypm

No, I don’t think you can change the title of the alert window in
javascript. (Though it would be cool).

If this is really important, you might check out something like the
redbox plugin. It makes alert-type boxes using divs and javascript.

Cheers
Starr