473,326 Members | 2,196 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,326 software developers and data experts.

How to display a pdf file in the iframe after a alert message in javascript.

If I remove alert messsage,it works fine.But, with alert message nothing is displayed after alert message but the blank screen.Below is the code:

<iframe width = "100%" height = "1100" src = "/website/Image/<%=Image_Path%>"></iframe>

and for alert :

document.getElementById('butNext').disabled=true;
document.getElementById('butNext').style.backgroun dColor='#b2b2b2';
alert("Hi");
Oct 11 '10 #1
2 2175
I used <object> tag instead of <iframe>, which is working fine.
Oct 13 '10 #2
danp129
323 Expert 256MB
I could not replicate the problem. Replicate the problem in another file with the least amount of code as possible and post your code inside [code] tags.
Oct 13 '10 #3

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

Similar topics

6
by: iceking | last post by:
Hi, I have a php script that checks whether the user is allowed to perform an action. If he is not allowed; I display a warning; using the alert function. After clicking away this function, I want...
3
by: Roy Wang | last post by:
hi, My problem is how to determining when the XML file has loaded using javascript. I loaded an xml file using javascript in a web page. The code below is loading the xml file for IE:...
3
by: Raffi | last post by:
Hi, Is there a way to close an alert box without user interaction? I need to display a message that will go away on it's own once a process is complete or if the user choses to click "OK". I...
3
by: Pradeep Kumar C | last post by:
Hi , I am working on a ASP.Net Web Application which need some requirement as given below. Let's say two user's A and B. When a User A Assign a task to B , Then B need to get some sort of...
3
by: Praneeth Padala | last post by:
vWinCal.opener = self; i want to form the new window as like a n alert message. Because the control from the popup should not go to Parent window with out pressing any key in the Pop-up. ...
1
by: Vivian | last post by:
I've created a web page with ASP .NET and C#. Say my aspx filename is "WebForm1.aspx", I have created another C# file named "Details.cs". My problem is I want to prompt an alert message from both...
22
by: Tony Girgenti | last post by:
Hello. I'm developing and testing a web application using VS.NET 2003, VB, .NET Framework 1.1.4322, ASP.NET 1.1.4322 and IIS5.1 on a WIN XP Pro, SP2 computer. I'm using a web form. Using...
3
by: Wayne Deleersnyder | last post by:
Hi All, I'm trying to create a function that will cause a pop-up alert to appear if dates which were chosen from a drop-down list were invalid on a page. There's 4 dates, so there's the...
1
by: somtabu | last post by:
Hello, in asp.net(VB), i want to display JavaScript alert message after the insert statement is completed. If the insert is failure then the alert message will not come.... Please help
3
by: pradnya | last post by:
Does php has any function like 'alert()' in javascript ? I want a popup window to display a message in php.
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.