Best way to protect a website from using an api (whitelisting the only one...
I have simple website written with react and also a simple API written with express.js. One of my API endpoints is for my contact form (from react) that allows a visitor to send an email. A kind of...
View ArticleAngular Directive to subscribe to class attribute change on an HTMLInput?
I'm working with reactive forms and I want to know when its api sets a class on an Input (ng-untouched ng-pristine ng-invalid).I have tried with angular HostListener ('change', 'keydown', 'input', etc)...
View ArticleBuilding a self-iterating table in javascript?
In my code I take user inputs, save them and pass them to an API. I then need to output these user inputs to a table. Every time the user presses the button to submit their data, I need a new row of...
View ArticleGetting data from complex html tag with Python Beautifulsoup
I have the following HTML data:<div class="display-info"> <div class="record-icon pubtype"><span class="pubtype-icon pt-academicJournal" title="Academic Journal"> </span> <p...
View ArticleCan't render routerLink in innerHTML in Angular
In the component code I have a field called taggy containing a full anchor tag. At first, in my HTML, I rendered it to the screen, which, of course didn't work out because I only saw contents of taggy...
View ArticleWhen adding the @media query, the nav bar does not display
Hope someone can help me here. I initially design the web page for a desk top. now I am trying to gracefully - degrade, and add features for smaller screens.What happens now, is that the navbar does...
View ArticleHow can i sum this up? (with generated disabled input fields)
Hello i am trying to add up two input fields that are not inserted with keyboard. But are just disabled input fields. If i choose dates the input field will generate a price function setFullPrice(),...
View ArticleHow to conditionally render a DIV and REACT component for OPENING and CLOSING...
I have a piece of code that should be rendered based on the condition applied. For example:isMobile ? <MyComponent> : <div className={styles.myclassStyle}> ....other code goes here.......
View ArticleNeed help on retrieving site key from dynamic website
I am creating an automated account creator using Pycharm. I am facing a problem to which I have yet to find a good solution. I want to get the site-key in order to pass the captcha to a service I have...
View ArticleVBA to select from a drop down list in IE that's not entirely preloaded
I am trying to create a VBA macro that will automatically select the item from a drop down list from a website. Even though the options in the drop down list has id tag, but not the entire list is...
View ArticleHow to capture bootstrap drop down close event in angular 8, on click of...
I am using Angular 8 with the Azia theme (bootstrap 4 theme). I want to capture the close event of the dropdown when I click outside of the dropdown. In the below code snippet that show class needs to...
View ArticleUse CSS to format date/time or percent value?
Is there a way to use CSS to format a date using a specific format, e.g. YYYY/MM/DD, or MM/DD/YYYY, with or without time?Also can a number be formatted as a percentage value with 2 decimals, e.g....
View ArticleIs there any way to change input type="date" format?
I'm working with HTML5 elements on my webpage. By default input type="date" shows date as YYYY-MM-DD. The question is, is it possible to change its format to something like: DD-MM-YYYY?
View ArticleUsing jQuery to manage Database populated Filter name to display a few...
I have a product page where I have created a filter to sort the product list by its category. $(document).ready(function() { $(".tab").click(function() { var value = $(this).attr('data-filter'); if...
View ArticleHow do I pull data from a website that has more than one page? [closed]
I am trying to use Power BI's "Get Data" tool to extract data from NBA Stats. However, the table shows one page (1 of 10) by default. There is an option to show "All" pages, but the actual URL does not...
View ArticleI want to get information from the lightstreamer used on the site
https://trade.highlow.com/ I want to get the rate in real time from the lightstreamer server used on this site. I practice it myself. I can access, but I cannot get it. If you are familiar with this...
View ArticleHow to make in div new data
How to make that the with each new creation through the input form (using the button) a div appears with the data that was entered last?I have creating new div with data from input form. And then i...
View ArticleCSS clip-path on mobile Safari acts like content-box
I have a container that is cut with clip-path and has some background color. Works perfectly in every browser that supports clip-path but mobile Safari (probably desktop Safari too, can't test)....
View ArticleMake a Javascript run for every response in a mysql response
I am trying to make a Database application which represents the results of a query in a table. This part works fine but I am trying to implement an external API to populate an additional attribute of...
View ArticleHorizontal scrolling breadcrumb gradient placing
I've styled our existing breadcrumb nav to show a gradient on the left and right sides of the container to indicate that scrollable content exists. Using this example I was able to implement what was...
View Article