php - Colorbox not closing in ie and giving an error -



php - Colorbox not closing in ie and giving an error -

i using colorbox value of textbox. have function in file:

jquery(document).ready(function(){ jquery(".example5").colorbox({ oncomplete:function(){ document.getelementbyid('question').value;} }); });

where question textbox id name.

than have php code check send question if array empty utilize exit exit out of code. here code that:

if($array != ""){$f_array = explode(",", $array);} else { echo 'you have no 1 inquire questions.'; exit; }

this code giving me 2 problems cant figure out. 1 colorbox shows message 'you have no 1 inquire questions.' can close firefox not close in ie. sec error in firefox:

document.getelementbyid("question1") null [break on error] oncomplete:function(){ document.getelementbyid('question1').value;}

i been trying figure out cant. appreciate help.

php jquery colorbox

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -