How to prevent the html details element from toggling when the summary has an...
I have a text input within the summary tag of a details element which is in the open state. The intention is to capture user input which will eventually be displayed as a details element (see below)....
View ArticleUpdate button on modal form not updating in MVC
I am displaying data on the ViewAllTasks page which has a delete, an edit and an add. They all work except for the update one. I do not get any errors and the program seems to run fine but the database...
View ArticleWhy does it take so long to load?
Basically I'm trying to display images downloaded from FTP with their previews to a dropdown list. Well, I did it but I've recently noticed that large images load in their full size and the website got...
View ArticleJS document.getElementById() with Int
I am getting some DOM elements by document.getElementById({{templete_var}}) the {{templete_var}} can be an Int. I would like to know if this can cause any errors across different browsers/devices. It...
View ArticleTwo identical modals, but one does not work. Why?
I am sorry if this is going to be a bit long. I have two ul elements on my page that contain a list that is made to look like a subway map.For the first ul, I made a class inside the li elements, which...
View ArticlePHP print without refresh the page?
First of all, thanks for all of the advices!So I've a php which uses print_r ($output) to print what I want. Now I want that, to print this without refreshing my webpage. My php's name is sys.php, and...
View ArticleHTML formatting with Prettier
In our project (web app, stack is Java backend with REST APIs, Angular frontend, maven as the build tool) we have plugins for enforcing Java code conventions, and use Prettier for Typescript/CSS/JSON...
View ArticleLarge Images Not Showing in IE 11 Using Tag
I have a cshtml page that takes an image as a string, and displays it in an image tag. Here's the code:@model ReadModel @{ ViewBag.Title = "Display"; ViewBag.Project = "IS"; Layout = null; } <body...
View ArticleHow to load page elements afterward
sorry for the stupid question but I can't find the answer ... We see more and more web pages loading like "empty" with just some empty squares, and then load the elements one by one when they are...
View Articleinput type date required not working: the form is still submitted
I have an input date like this:<input id="date_1" required="1" name="date" type="date"> But the form is still submitted.I tried with this js:document.getElementById('date_1').required = true; but...
View ArticleStripe to separate title and the rest
I have been trying for a while to separate the title from the rest with a stripe.I remember there was a trick for that, or which was the tag that I have to use therefore?Any help is appreciated.It's...
View ArticleGetting text of all elements within a menu in testcafe
enter image description hereI want to get the text of all links within a menu and compare them to the expected texts. I am new to testcafe.const all_GeneralDisplayTopLink =...
View ArticleDatatable not updated where clause
My datatable is not updating for query with a where clause. Query is retrieving the data according to query, but the datatable not update for the query result. I'm using laravel 5.8 with yajrav...
View ArticleTestCafe - How to get the html output of an element on fail
When I run tests I cannot capture screenshots at the moment in Jenkins without some heavy work. What I would like to do is get the HTML output of the body to see what is displayed when a particular...
View ArticleTestCafe cant find a element if the text contains a space
I have the next code that asserts if I can find a bank account in a cell. I found out that it's not working when the text in the cell contains a space after the text. this.bankAccounts =...
View ArticleHow do i hide Social sharing for Disqus via CSS
I would like to use Disqus comments system as a guestbook on a wedding website based on a bootstrap/html5 template. Since the content on the website is personal, i would like to remove the share links...
View ArticleHow can I centre left aligned text even when it wraps?
I need to centre a block of left aligned text within a div, but I need the visual width of the text block to be centred not the block itself.In many cases this may be the same thing, but think of a...
View ArticleIE webrowser control doesn't display CSS box shadow
Our custom Windows (C#) application uses the .net "System.Windows.Forms.WebBrowser" control to display HTML-based help. When I view a Help page in any browser, (IE, Chrome, Firefox, etc.), a box shadow...
View Articlejquery load -> doesn't load specific php file but webpage 2 times (yii2)
I have a little problem with using jquery load. I'm using the yii framework (yii2) and wanted to make a simple:don't load all the items from the startonly if pressed load more: load three more itemsIt...
View ArticleKnockout foreach generate html fields
I want to display as many fields as user wants.Maybe you have idea how can I do this case using foreach loop in Knockout framework.For example numberOfFields is input field where user can enter how...
View Article