Ok - update, I found the issue..
There was an issue with my handling of a button in the HTML.
I had set the type to submit rather than button..
User Profile
Collapse
-
Javascript and MS Edge behaviour
I have the following Javascript function to manage the edit of a field on a bootstrap modal web page. It works fine with Chrome but Edge does a page reload after completion which closes the modal.
Any thoughts on why this is happening? Suggestions to stop it?
Code:function edit(element) { if (document.getElementById(element + "-glyph").className == "glyphicon glyphicon-pencil") {
-
-
Hi,
Can you be more specfic about the problem, post some sample of the code you are using and the problem you are having.
Purple....Leave a comment:
-
my question is :
Can we change the number containers when we are doing redirected restore in db2 v9.1 -
how can i post a topic in this website, i want post topics under db2 udb. Please let me know how to do, i am member of this website now -
Hi ghjk,
Do you want this to launch in a new browser window or within the same ? Is the user hitting a print button ?
Regards
PurpleLeave a comment:
-
Hi you are quite right, you could do this with either javascript or PHP (with some javascript),
Coding in a language you are comfortable would be a good idea, which do you know ?
PurpleLeave a comment:
-
Hi xelA
Can you post your updated code and ideally don't forget the code tags.
PurpleLeave a comment:
-
-
-
Ursx,
I am going to move this post to the forum because you have posted into the articles.
MODERATORLeave a comment:
-
I have moved this to the forum because you have posted this in the articles section.
MODERATORLeave a comment:
-
Hi aagarwal29 and welcome to TSDN,
I am moving this from the articles to the forum where our experts will be able to assist you further.
MODERATORLeave a comment:
-
Hi Bob,
I am going to move this to the forum because you have posted it in the articles section.
MODERATORLeave a comment:
-
Hi,
as with all of these things, there are a number of ways to achieve this..
simplest is prob using sessions so :
[PHP]<?php
session_start() ; // this needs to be executed before anything is sent to the browser - including any white space
if (!isset$_SESSIO N['form_vars']) session_registe r('form_vars');
if(!empty($_POS T['variable']) $_SESSION['form_vars']['variable'] = $_POST['variable'];...Leave a comment:
-
Hi ezb,
you do this by building code block which run based on which post values are set
so :
[PHP]<?php
if (isset($_POST['first_select']) and $_POST['first_select'] <> "default value" and !isset($_POST['second_select']) ) {
//
do the code to build the second select
//
}
elseif(isset($_ POST['first_select']) and $_POST['first_select'] <>...Leave a comment:
-
-
Hi,
Code:function refresh_win() { document.[I]formname[/I].submit.click(); }
assumes you have a button called submit - change to name of button if not.
Regards PurpleLeave a comment:
-
oh and, please use code tags when posting code, no matter how small..
MODERATOR
I can't change your post cause I don't moderate this forum, I am sure one of the php mods will get on this...Leave a comment:
No activity results to display
Show More
Leave a comment: