473,403 Members | 2,359 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

Drop-down message box problem in IE

The following code works fine in Firefox, but not happens when the link is clicking on in IE...a message box is suppose to drop-down...nothing but an error in IE..any help
Expand|Select|Wrap|Line Numbers
  1. <td>
  2. <a href="javascript:void(0)" onClick="custom_mesg();">Add message</a>
  3.  
  4. <div id="custom_box">Custom message: <br />
  5. <textarea class="inputbox" id="custom_mesg" name="custom_mesg"></textarea>
  6.                     </div>
  7.                     </td>
  8.  
Again any suggestions for getting this work in IE again..no problems with Firefox browsers.

Thanks
Oct 30 '06 #1
2 1663
iam_clint
1,208 Expert 1GB
custom_mesg();

would need to see the code for this function.
Oct 30 '06 #2
Here is the code..

window.onload = function(){
custom_box_effect_0 = new fx.Opacity('custom_box', {
duration: 500,
transition: fx.linear,
onComplete: function() {
}
});



status_effect_0 = new fx.Opacity('status', {
duration: 500,
transition: fx.linear,
onComplete: function() {
}
});

status_effect_0.hide();

document.inviteform.email.focus();
}

function add_custom_mesg(){
custom_box_effect_0.hide();
new ajax('index2.php?option=com_invite&task=ajax&act=a ddCustomMesg', {
postBody: 'no_html=1',
update: $('custom_box'),
onComplete: show_custom_box
});
}

function show_custom_box(){
custom_box_effect_0.toggle();
}

function hide_custom_mesg(){
custom_box_effect_0.hide();
new ajax('index2.php?option=com_invite&task=ajax&act=h ideCustomMesg', {
postBody: 'no_html=1',
update: $('custom_box'),
onComplete: show_custom_box
});

}

function send_invite(formx){
document.getElementById('status').innerHTML = "Sending...";

status_effect_0.hide();
status_effect_0.toggle();

var formValues = "email=" + formx.email.value
+ "&custom_mesg=" + formx.custom_mesg.value;

formx.email.value = '';
formx.custom_mesg.value = '';

new ajax('index2.php?option=com_invite&task=ajax&act=s endInvite', {
postBody: formValues,
onComplete: send_complete
});
}

function send_complete( request ){
status_effect_0.hide();
document.getElementById('status').innerHTML = request.responseText;
status_effect_0.toggle();
}



Any help would be great
Oct 30 '06 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Ian Dobson | last post by:
Hi, I need to drop a schema from a database but it has 400 tables in it. Is there an easy way to do it other than drop table schema1.table1 drop table schema1.table2 etc.. to 400 and then drop...
10
by: BuddhaBuddy | last post by:
Platform is DB2/NT 7.2.9 The table was created like this: CREATE TABLE MYTEST ( MYTESTOID bigint not null primary key, FK_OTHEROID bigint not null references other, FK_ANOTHEROID bigint not...
1
by: Torre Quinn | last post by:
Does anyone have any good sites or resources dealing with adding drag and drop functionality to a set of controls on a form? I'd like to try to get several examples of varied applications of drag...
0
by: ViRi | last post by:
I am currently experimenting a bit with AxMicrosoft.MediaPlayer.Intero­p.AxWindowsMediaPlayer and so far, most has gone well. Currently, i would like to add drag-and-drop functionality to the...
1
by: Darren | last post by:
I'm trying to create a file using drag and drop. I want to be able to select a listview item drag it to the shell and create a file. Each icon in the listview represents a blob in a database. When...
0
by: joey.powell | last post by:
I have a Windows Forms application where I need to be able to drag and then drop onto a datagridview control. I already have the code necessary to make the drag part work. I am having problems,...
0
by: RHSFSS | last post by:
Hi, I have a Drag and Drop registration problem (See http://www.thescripts.com/forum/thread434707.html for similar problem post), can anyone out thereadvise on the best solution? I have a .NET 2.0 ...
15
by: uwcssa | last post by:
I try to drop a table as: I got: During SQL processing it returned: SQL0478N The object type "TABLE" cannot be dropped because there is an object "sch.SQL070515104729271", of type "FUNCTION",...
1
by: Thi | last post by:
Hi, I am trying to develop an application that allows the users to drag a few file(s) from a zip archive to a destination. My question is, how do i determine where the drop destination is...
5
by: Romulo NF | last post by:
Greetings, I´m back here to show the new version of the drag & drop table columns (original script ). I´ve found some issues with the old script, specially when trying to use 2 tables with...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.