Struggling trying to add popstate to my AJAX request so browser will update...
I have added the pushstate fairly easily, but maybe i did that wrong. How do i put the popstate in my code so that when after clicking on the div, displaying the data, when i click back it will update...
View ArticleClickable span not calling javascript even though w3school example works
I have a clickable span element that is supposed to call a javascript function that toggles a dropdown. This is an amalgum of two w3schools examples linked here.onclick with span elementclickable...
View ArticleWeb Design Beginner: Can anyone help me figure out how to do these things?
This is my first post here.I am designing a website for selling/displaying my artwork. I am new to HTML, CSS, and JavaScript and I am having trouble doing these things:Creating a gallery of images that...
View ArticleHow just select folder directory not file directory?
I using js to create my from, my problem is how to just select folder directory not file directory?Belows is my coding:<input type="file" id="real-file" hidden="hidden" /> <button...
View ArticlejsPDF How can I change my font and add margin?
It looks blurry PDFusing this librariesjspdf.jsjspdf.min.jsThis is my container-div Output: When I download it as PDF the Output is this: The font changed and the quality reduced.Here is my source code:
View ArticleWebpage with iFrames
I am experimenting with making a website where I have two iframes with other webpages side by side, and would only like to show a certain part of these websites. Trying to edit the innerHTML of these...
View ArticleJava Script banner with flexible timer based on hours
I want to make a short script to show a banner in specific period of time. like this: From 9:30 AM. to 10 AM. show banner 1 From 11 AM. to 12:15 AM. show banner 2 From 8:10 PM. to 10 PM. show banner 3...
View ArticleHTML entity for attach-file symbol?
I have tried including below code in HTML, for attach-file symbol. But it displays a empty white box. 📎📎 📎 Is there any alternate HTML attach-file symbol entity?If not ,can we...
View ArticleHow do i use bootstrap to make an image tile/grid/collage? [duplicate]
I'm trying to make a 4 image tile on a webpage but it looks messy. I can't figure how to make the arrangement.I want it to cover the whole width of the page but with a height of 590px.How do i achieve...
View ArticleSearching a table with Selenium, checking a row for a value, and clicking a...
I have a list of ID numbers that I need to compare against a table on a website. If a row in the table has text that matches one of the ID numbers in my list, I need to click a check box that is in...
View ArticleHow to get URL of image from item in drop down in javascript
Getting undefined value in console.log(this.children[0].src);Here is the HTML part of the code<!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <link rel="stylesheet"...
View ArticlePull Json Compare against PHP and Insert
Working on a project and came across someone else work that I wanted to try and combine with some json I have written up. What I am trying to do is may seem odd and you will have to bare with me. I...
View ArticleCan't fix: 'og:image' property should be explicitly provided, even if a value...
I have a website that triggers a warning when clicked through a link shared on facebook. The warning says: "Possible problem with this link We have detected that this link: http://www.sjap.online/ may...
View ArticleGetting HTML object and passing it as a string in jQuery
I am trying to get the values of id and amount from html element with jQuery, but I am trying to figure out how to get the value and pass it a string.Here is my HTML input elements totalAmountIn...
View ArticlejQuery Get value of previous characters up till certain character within...
I making a text editor using jquery and electron. I would like to be able to make the text editor autocomplete HTML tags.What I would like is when the user types a tag, for example <tag> a...
View ArticleWhy i keeps getting this "Uncaught TypeError" when using it my script?
my code isn't working, i keeps getting "Uncaught TypeError: Cannot set property 'textContent' of null at HTMLDivElement."i tried using querySelector and getElementById but both way also im getting same...
View ArticleConverting HTML to image (via autosized JEditorPane)
A mechanism for converting an HTML element to an image (e.g., PNG) is "rendering" it via a JEditorPane, as follows:public void render(String html, int width, int height, file output) { JEditorPane jep...
View ArticleMaterializeCSS Navbar and Sidenav + Angular 9
So I'm trying to make a dashboard-like Angular app for a school project. I've been making Angular components to modularize the site. So far I have the nav bar and sidenav done, but the side nav is...
View ArticleHow to "crop" a rectangular image into a square with CSS?
I know that it is impossible to actually modify an image with CSS, which is why I put crop in quotes. What I'd like to do is take rectangular images and use CSS to make them appear square without...
View ArticleAutocomplete = "new password" not working and "use password for" dropdown...
I created a login form with input text for username and input of type password for userpass using visual studio 2010. I have the latest chrome Version 59.0.3071.115 (Official Build) (32-bit). Below is...
View Article