Javascript pop up windows -- forces the current page to change?
I have a really odd bug. I am testing a javascript popup window for a report. I edit the column of the report and tell it to link to a URL. For testing purposes I just put in javascript:window.open(); That takes fine. However, when I click the link in the report, it refreshes the current page, the url stays the same but the only thing I see on the page is [object]. White screen, black text. Anyone have any idea as to whats causing this? Thanks a bunch.
Create the <A> like this
<A href="javascript:void(0)" onclick="javascript:fnPopup()">link</a>
or
<A href="javascript:fnPopup()">Link</a>
To achieve this I will type the following in URL
javascript:void(0)" onclick="javascript:fnPopup()
Note: there is no double quotes at the beggining and end.
Similar Messages
-
i get a pop-up window saying the current version of Safari does not support the community toolbar. How do I get rid of this?
You need to uninstall the Community / Conduit toolbar add-on.
Locate the files in bold print and move them to the Trash. The first five are in your root /Library
/Library/Application Support/Conduit
/Library/InputManagers/CTLoader
/Library/ScriptingAddtions (anything CTLoader realted)
/Library/Receipts/<Toolbar name>.pkg
/Library/Application Support/SIMBL/Plugins/CT2285220.bundle
The next one is in your Home folder.
~/Library/Application Support/Conduit
When you're done, try Safari. -
When I first open firefox, two windows open at the same time. Welcome to firefox with a pop up window and the second one is the mozilla firefox start up page. It is very annoying.
Hi mjp80538,
You should look at [https://support.mozilla.com/kb/Firefox+has+just+updated+tab+shows+each+time+you+start+Firefox this article about that specific issue] and the article [http://kb.mozillazine.org/Preferences_not_saved Preferences not saved]. These should give you all the information you need!
If that doesn't work:
# Type about:config in the address bar
# Click ''I'll be careful, I promise'' if prompted
# In the Filter input field type ''startup''
# Double click on startup.homepage_override_url
# Delete the text string and click ''OK''
# Close Firefox and reopen the window to verify that it has worked.
Hopefully this helps! -
How to achieve SUBMIT for the current page when I click other tab?
Problem: How to achieve SUBMIT for the current page when I click other tab?
Description: I have a two-page application and each page associates with a tab. Say page1 associates tab1 and page2 associates tab2. In each page, I have a submit button, a after submit process associated to the submit button, and a tabular form. For page1, I fill out the fields and hit the button. The page1 will appear again and I can see the data I have insert. However, If I fill out the fields and click the tab2 (page 2) instead. when I come back to page1, the data I filled out are all gone. Is there any way in HTML DB to force the submit in the current page after you click other page. If use JavaScript, what is code looks like.
Appreciate your time and your answer.
MikeScott,
just for clarity, if I understood correctly what you said there are two possibilities:
1) keep the standard tab branch and give up the possibility of validating page items. Below you can find an example of such cases.
2) Replace the template substitution string and perform a "custom" button-like submit also adding a branch to the main page associated with the tab. Page items will be validated if the branch firing point is set after the validations.
I couldn't find an example of the latter, but I found easily an example of the former:
it's the "Report attributes", page 420 of app 4000.
If you enter 'aaa' in the "Number of rows" form field and then you press "apply changes", htmldb correctly displays an inline error message saying that the value must be numeric. On the contrary, if you click on the "Region Definition" tab, htmldb takes you to a page showing an oracle exception:
ORA-20001: Error in DML: p_rowid=4785927011172906402, p_alt_rowid=ID, p_rowid2=, p_alt_rowid2=. ORA-20001: Invalid numeric value aaa for column PLUG_QUERY_NUM_ROWS
Bye,
Flavio -
How do I open a new FireFox browser window to the home page and url filled?
win 7 64-bit, firefox 5 open new window no url. When I have firefox open and open a new browser window, the new window does not open on the home page and no url is present in the address field. If I click on the favicon in the address field, the url of the current page will automatically fill in. The forward and backward arrow buttons remain disabled. In addition, links opened in a new window cause a new browser window to open, but the linked to website is not displayed in the new windows. What is displayed is a new window completely blank with no url in the address bar. I tried to include troubleshooting information by clicking on the copy to clipboard, but apparently the character count was exceeded.
I disabled all plug-ins and extensions. the problem has been resolved. Now I will enable each one individually to find out which one was the offender.
-
In version 8 the "stop loading the current page" icon is missing. How do I get it back?
I just installed version 8, and even though the features page says that the "stop loading the current page" will be a part of the default navigation toolbar, that icon is not on the toolbar. How do I get it to be there
In Firefox 4 and newer versions, the Go, Stop and Reload buttons are combined in one button at the right end of the URL or Address bar. The button changes depending on the activity:
*green Go arrow when typing in the address bar
*red Stop ("X") button while page is loading
*gray Reload (circular arrow) when page is finished loading.
See image at the bottom of this reply
Separate buttons are possible:
#Open Customize Toolbar window by clicking Firefox button > Option > Toolbar Layout '''''OR''''' clicking View > Toolbars > Customize if using the Menu Bar '''''OR''''' right-click in an empty space on a toolbar and choose Customize
#<u>While the Customize window is open</u>, Stop and Reload buttons will show separated between the address bar and the search bar
#<u>While the Customize window is open</u>, drag the buttons anywhere on the Navigation toolbar
#*order Reload-Stop will combine into one button
#**leaving in this order between URL/Location/Address bar and Search bar will cause it to re-combine with the "Go" button at the right end of the URL/Location/Address bar
#**leaving in this order elsewhere, the Reload and Stop buttons will combine into one button
#*order Stop-Reload will remain separate buttons
#*or drag a "Separator" from the Customize window between Reload-Stop and they will remain separate
#click Done at bottom right of Customize window to finish
See: https://support.mozilla.com/en-US/kb/how-do-i-customize-toolbars
'''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
Not related to your question, but...
You may need to update some plug-ins. Check your plug-ins and update as necessary:
*Plug-in check --> http://www.mozilla.org/en-US/plugincheck/
*Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.com/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
*Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
*Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.com/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
*Next Generation Java Plug-in for Mozilla browsers: [https://support.mozilla.com/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox] -
This problem started February 2015. I have noticed it mostly while searching ebay. When I hit the back button it did not work. I right clicked the back button and found at least 2 and sometimes up to a dozen duplicate history entries for the current page I am on, meaning I would have to click the back button a dozen times to get to the previous page. I am using Firefox 35.0.1 on a Vista computer. I have not found any fix for the problem after searching the internet for hours. I have seen similar issues with people using IE and some say the duplicate entries are caused by banner ads but still no one has provided a good answer or fix for the problem. Please help.
I will leave further answers to users of ebay. Script or adblockers may ease the problem.
* Try this add-on search [https://addons.mozilla.org/en-US/firefox/search/?q=blocker&platform=windows&appver=35.0&sort=users blocker] (Windows) -
Return to the current page after refreshing
Hello!
When I refresh the current page I'd like to return to it, not to another page.
When I choose "SAP Business Intelligence" forums link (with all subordinate forums in one screen) and go to previous pages (for example, to 3rd page), even if I return to 1st page when I refresh the screen it shows me again the 3rd one, not the first. It's very annoying. Could it be changed?
Best regards,
EugeneEugene
The forums are displayed in an iframe. Therefore, if you wanted to simply refresh the forums to the exact page that you have navigated to, you should right-click on the content area of SDN (the forums page) and choose the refresh option. This will refresh this window and should keep your place marker. If you refresh the URL in the browser window then this will refresh the entire SDN page and will take you to the entry point of the forums.
I hope this helps
D -
Don't know how to calcualte the current page in smartform for second layout
Hi All ,
Iam creating an smart form which contains two layout in a single form. I need the page number to be displayed as followes.
1st layout : 1 of 2
2 of 2.
in 2nd layout 1 of 2.
2 0f 2.
I dont have any issues in printing total number of pages. i dont know how to calculate the current page for the 2nd layout. <<text removed>>
Edited by: Matt on Jun 25, 2009 5:09 PM - Removed ALL CAPITALS from subjectHi,
Create a New window of Type 'Final Window' and Position it in the layout where u want to display the page numbers.
Now, create a text element in the window and create the text like below in the text element.
P1 Page &SFSY-PAGE& of &SFSY-FORMPAGES(3CZ)&
&SFSY-PAGE& - Current Page No.
&SFSY-FORMPAGES(3CZ)& - Total No of Pages.
Note: dont forget to create the window type as 'Final Window', otherwise it will show ssome junk...
Hope it helps!!
Rgds,
Pavan -
Collecting the URL for the current page..
I'd like to collect the complete URL that created the current page. I'd like to pas this information to a succeding dynamic page, so that I can return to the current page.
I have tries using the OWA_UTIL.get_cgi... routines but they seem to be lacking the parameter list to make them complete. The path and page, but no parameters.
Is there an API routine or a technique to accomplish this in PL/SQL?
Thanks,
StuartWe had the same problem at a project, we solved it with the use of javascript. If you want an example mail me at [email protected]
arny -
When I open a link in a new tab reduces the size of the font on the current page.
The font is shrinked only on the current page (just like ctrl+wheemouse down). Happens if is ctrl+click or use the mouse middle button. Can you please advise how to fix this? Setting minimal font doesnt work. Thank you for your help.''
Sounds like a problem with the mouse driver. You can check the settings in Control Panel > Mouse. Also make sure that you have the latest updates of all drivers.
You can start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Appearance/Themes).
* Don't make any changes on the Safe mode start window.
* https://support.mozilla.com/kb/Safe+Mode
* [[Troubleshooting extensions and themes]]
In Firefox 4 you can use one of these to start in <u>[[Safe mode]]</u>:
* Help > Restart with Add-ons Disabled
* Hold down the Shift key while double clicking the Firefox desktop shortcut (Windows) -
Pdf reader that will let me print the current page number to stdout ?
I'm looking into annotating my readings, and it'd really speed things up if I were able to get the current page number printed to stdout.
I've been through evince and xpdf's manuals, the latter will let you output the file to ps, so there might be some hacking possible there, but maybe there is a more convenient alternative...?
Would appreciate some suggestions.
Cheers !Sure that works, it's just that I'm already wrapping my pdf reader in a ruby script to allows me to make annotations linking back to the original document and page, and I also use the clipboard to quote.
So instead of being a keybinding away, I end up have to juggle with windows... -
When I have been at a site for a while and decide to go back, when I use the drop down box it has filled with the current page location. The longer I am there the more times it repeats its self.
Did you try Safe Mode?
An extension may be responsible for adding up those entries of the same page.
Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
*Do NOT click the Reset button on the Safe Mode start window or otherwise make changes.
*https://support.mozilla.org/kb/Safe+Mode
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes -
Until recently I could click on resent sites in the address bar drop down, but now it just reloads the current page (still shows icons and addresses for the sites I'm clicking on). I've tired clearing history and cache, is this a known bug?
Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
*Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
*Do NOT click the Reset button on the Safe Mode start window
*https://support.mozilla.org/kb/Safe+Mode
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes -
Send a request without leaving the current page?
Hi,
I got a question here:
In a jsp page, when the user changed a option in a drop down box, I want the page to send a request to the server doing some operations on the database(probably use a bean) but still stay at the current page. How can I do that?
Another simple question is:
There're 10 elements/components in a FORM, and the user is changing the options in a drop down box (one of the 10 elements/components). Is there any way I can know which elements/components the user is playing with ?
Thanks in advance!it is your own risk to your applets to communicate with DBs because nobody suggests that. I agree with the Javascript story and the frames. It can be done but i thought he wanted to do that in one single page. And finally, i dont trust frames that much. I have seen many times the 404 error found on pages and because i use dynamic pages i have to make connection for each frame. and with throusands users being online it is bad for my server (traffic).
Maybe you are looking for
-
HT1535 sync calendars and contacts to laptop- Windows 8.1
I just bought a new laptop running Windows 8.1 and tried to sync calendars and contacts to my iPhone and iPad to the laptop. Contacts were OK, but my iPhone has developed a second calendar called 'Outlook Calendar' and none of the entries in 'Calend
-
Multi layer table view/navigation controller hierarchy best practice
Hi, I am new to iPad/iPhone development and wondering what the best practice for multiple layers of table views is? I understand the principle of a navigation controller providing the framework for moving up and down a list but have not yet quite got
-
CC says it's re-syncing all 18 GB of my files back to my HDD. I'm on crappy wifi in southern Peru, and I can't access any of my work files for (CC estimates) 22 hours. I'm basically out of business for a day or more. How the hell can Adobe allow this
-
AAM ignoring install preferences..HELP?
I have a Win 7 system with a 30GB solid state C:\ drive and a 1.5 TB D:\drive. I need to have all applications installed to D:\ but setting the preference for installation location in the Adobe Application Manager to D:\Program Files\Adobe does not
-
Color Matching using Color Sampler Tool?
Let's say I want to replace a sky in a landscape with a more interesting one with clouds. Is there a way to match the luminosity and hue of the replacement sky to the original landscape by using the color sampler tool? That is, to do the color matchi