jquery x 2,329

20,316 Topics

Member Avatar for
Member Avatar for jayashree10

Can you explain what the "Critical Rendering Path" is and how it influences the performance of web pages?

Member Avatar for Dani
-1
35
Member Avatar for jayashree10

Could you describe your approach to unit testing in a JavaScript application? What tools and frameworks do you find most effective?

Member Avatar for Ethanbrody
-1
48
Member Avatar for Dani

The Google Analytics javascript tag we use in our HTML <head> is: <script async src="https://www.googletagmanager.com/gtag/js?id=G-3BQYMGHE7E"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-3BQYMGHE7E'); </script> Then, there are a handful of `gtag()` calls elsewhere on the page. I'm confused by how async works in this context. …

Member Avatar for Dani
1
367
Member Avatar for mexabet

I have a two-step login form. In the first step, I have "username" as "id" and "name" of the text input. I also have "password" as id and "name" of the second input field, where the user is prompted to enter username and password. In the second step, I have …

Member Avatar for Dani
0
114
Member Avatar for Cornelius89

I'm newbie in this industry but I'm willing to learn the fastest way is possible and to learn others when I'm going to be good on web development

Member Avatar for Dani
0
20
Member Avatar for Coderunner

Hello What is wrong in the form validation. It always give me -> not OK -> red color I hope someone can help me with this. Thanks in advance. Best regard. <html> <head> <style> .error { font-family: Tahoma; font-size: 8pt; color: #FFFFFF; padding: 2px 172px 2px 172px; background-color: #FF0000; display:none; …

Member Avatar for Coderunner
0
124
Member Avatar for bijutoha

I am currently studying React JS, and my eventual goal is to create a website using React JS that is optimized for SEO. Someone told me using React JS to construct a website will make it less search engine friendly. I'm curious; what are your thoughts? And how will things …

Member Avatar for bijutoha
0
84
Member Avatar for Sajid_21

Managing state is a crucial aspect of React development yet it can be challenging to decide the best approach. With the advent of various libraries and built-in React features, developers have multiple options, such as local component state, Redux, MobX, Recoil, and the Context API. Each of these has its …

0
51
Member Avatar for Mindmade
Member Avatar for Abdulrahman_8
-3
88
Member Avatar for hrushi9

I need help to convert my javascript animation to css3 Currently there are two sections. while going to second section from first section, it shrinks, folds height & width of first section and unfold , enlarge height & width of second section. **Check Demo** [ **jsfiddle**](https://jsfiddle.net/cq67m33a/) **Need Help for ** …

Member Avatar for alishakihn1
0
668
Member Avatar for FarrisFahad

Hi, I am using JS in my website to load more content. I have buttons or input type button as my load more content. I am worried that Google won't index the content behind the load more button because it's a button and not an anchor tag. Here is what …

Member Avatar for Dani
1
183
Member Avatar for hgsinfotech
Member Avatar for wwwalker
0
133
Member Avatar for abu taher

In HTMl from I have a Input field type month. When I select a month and click on search button then total days of selected month show in HTMl table with backend data. This table contain salary. I want the salary is calculate with Total days. I write a script. …

Member Avatar for Jane_11
2
265
Member Avatar for lenalauren22

Hi all, I am new to coding and I've been receiving the error message for Unexpected Token '<'. The problem seems to be located in the very first line in my <!DOCTYPE html>. I am not sure what I am doing incorrectly. I've checked settings, rewritten the code, etc. Help …

Member Avatar for AndreRet
0
351
Member Avatar for Mindmade
-2
29
Member Avatar for Daniel_185

I'm developing a blogging platform and want to integrate image and video embedding capabilities. Can a JavaScript WYSIWYG editor help with this?

Member Avatar for Allin
0
167
Member Avatar for Kirubel_2

<!DOCTYPE html> <html> <head> <title>Exercise V3.0</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <link rel="stylesheet" type="text/css" href="w3.css"> </head> <body> <div class="container"> <div class="header"> <ul> <li ><i class="fa fa-home" id="me"></i></li> <li><i class="fa fa-trash" ></i></li> <li ><i class="fa fa-close" id="he"></i></li> </ul> </div> <div class="title"> <span>Completed 15 of 67 Exercises:</span> </div> <div class="nav"> <ul> …

1
125
Member Avatar for Helen_14

I have a form where the form elements are grouped in several divs. Depending on user choices certain divs will display and others will have display:none. I want some fields to be required but only when the surrounding div has the value display: block. Is there a way to do …

Member Avatar for AndreRet
0
101
Member Avatar for spud91

I have the following code: <?php session_start(); // Starting Session include_once('config.php'); $error=''; // Variable To Store Error Message if (isset($_POST['submit'])) { if (empty($_POST['user']) || empty($_POST['pass'])) { $error = "Please complete both fields"; }else{ // Define $username and $password $user=$_POST['user']; $pass=md5($_POST['pass']); // To protect MySQL injection for Security purpose $user = …

Member Avatar for GESTIC
0
1K
Member Avatar for Mindmade
Member Avatar for Mindmade
Member Avatar for Wasif_6

I would like to learn about new web development trends such as UI/UX design and other topics, as well as how to become a good web developer and find a job in web development.

Member Avatar for rproffitt
0
131
Member Avatar for david.tigner

I am trying to upgrade from ReCaptcha v1 (in use and working good since 2017) to ReCaptcha v3 as ReCaptcha is not compatible with any of the PHP v8's. I started setting it up (got site and secret keys) and coding for 2 versions of ReCaptcha v3 (1. Automatically bind …

Member Avatar for david.tigner
0
563
Member Avatar for Read a Book

Hello everyone, i am in some kind of testing stage where i want to test some security flaws on websites/browsers with the cookies. I want to generate google cookies with a different time period. (older than 2 months). Firstly I will try to integrate into the browser via JS Secondly …

Member Avatar for AndreRet
1
629
Member Avatar for Abhishek Upadhy_1

Web development refers to the creating, building, and maintaining of websites. It includes aspects such as web design, web publishing, web programming, and database management. It is the creation of an application that works over the internet i.e. websites.

Member Avatar for webdesing
-1
130
Member Avatar for nander

Anyone seen or had this happen before, whenever I add, edit or delete in this datable. It only does this when I add the js pagination\search ![TableDuplicate.JPG](https://static.daniweb.com/attachments/4/792aec684975bfed8e5e50cce0835187.JPG)

1
66
Member Avatar for Rasec_1

Hello all, I know very few of Javascript. I'm trying to identify which JavaScript functions are called in this [site](https://htmlpreview.github.io/?https://github.com/robatron/sudoku.js/blob/master/demo/index.html#). The script updates the board when the labels "easy","medium", "hard", etc are selected and when the buttons "solve" or "candidates" are pressed. I've tried with F12 (Developer tools) but I …

Member Avatar for rproffitt
0
118
Member Avatar for saukrit
Member Avatar for Roger Carlos

Hello I am Roger from US. I am Working as web developer at vteams. I am highly skill in PHP development, Laravel and JS. I am looking forward to know amazing people like you all

Member Avatar for Akira350lth
0
31
Member Avatar for andrewecook

**Javascript SEO** What is the best way to look SEO friendly javascript means how javascript code look like SEO friendly.JavaScript SEO is all about making sure that websites with heavy JavaScript content are easy for search engines to crawl and index, so they can be found and rank highly on …

Member Avatar for Dani
0
32
Member Avatar for nander

PHP Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, null given in <?php include("header.php"); $_SESSION['loc'] = "viewkeyowners.php"; if ($_SESSION['loggedin'] <> 1) { header("Location: logintest.php"); exit(); } //this is done because if user closes a tab/page, and logs back in(still in session), it would redirect to the last opened tab/page function …

Member Avatar for Dani
0
99
Member Avatar for Billa_1

I am tasked with Integrating Servicenow with Docusign for sending Mutual NDA for digital signature. This is to be achieved through a request item. Does anyone know how to do that. I have tried ServiceNow Community and it has a cryptic answers. I am new to restful integrations and have …

Member Avatar for pritaeas
0
57
Member Avatar for Ioann_1

I am kind of confused. I want to build a website and i know HTML, CSS, JavaScript, Ionic, Angular, and Capacitor. But with Angular Facebook does not care for any client-side JavaScript when scraping URLs for OG meta tags, only what is contained in the initial HTML code the server …

Member Avatar for nastya.petrenko
1
122
Member Avatar for Mindmade
Member Avatar for rproffitt
-1
61
Member Avatar for mishafauci
Member Avatar for bprosic

Hi everyone, here is code in React. I dont know how to re-render this array prototype map in React? import React, { useState, useEffect } from 'react'; const Help = () => { const initialObject = [ { fileName: 'Horizon.txt', fileSize: 450, }, { fileName: 'Something.png', fileSize: 2720, }, ], …

Member Avatar for bprosic
1
168
Member Avatar for Pranay_2

I am having trouble showing the export buttons, it works perfectly if the data is not fetched from database with the basic example however they are not showing with my php code, I have included the script and necessarry files from https://live.datatables.net/kugajayu/1/edit. Please help, below is my script. <!DOCTYPE html> …

Member Avatar for Pranay_2
0
2K
Member Avatar for jkon

I wanted to post something in Daniweb for a while but I didn't had anything new. Recently I decided to write a new implementation for websocket connections client side using Shared Web Workers. Shared Web Workers are supported today by most browsers for desktop but few for mobile devices , …

Member Avatar for jkon
2
543
Member Avatar for mizmy

I added checkbox in my webpage using: <asp:TemplateField> <ItemTemplate> <asp:CheckBox ID="chkRow" runat="server" /> </ItemTemplate> </asp:TemplateField> But then my calculation of price*quantity having error where it display the total in another column and row. <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <script type="text/javascript"> function CalculateTotals() { var gv = document.getElementById("<%= GridView1.ClientID %>"); var …

Member Avatar for pritaeas
0
101
Member Avatar for farman786
Member Avatar for Dani
0
77
Member Avatar for bprosic

Hi all, I'm having difficulties to pass Props (Label text) to Combobox component. I usually use same forms for adding and editing Data. When it comes to editing, If I use lot of arrays to iterate first and then pass right information, I get stucked for hours like here. I'm …

Member Avatar for Dakota_2
1
93
Member Avatar for Maycon_1

Hello guys, how are you all doing ? Guys there someone there, who is interested in building a project together ? to connect exchange ideas and knowledge

Member Avatar for john_111
0
108
Member Avatar for davit_91

<!DOCTYPE html PUBLIC > <html> <head> <title></title> <link rel="stylesheet" type="text/css" href="css/main.css" /> <script src="js/jsimageslider.js" type="text/javascript"></script> <link rel="stylesheet" type="text/css" href= "css/generic.css" /> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> </head> <body> <div id="dm1"> <div id="dm1Inner"> <h1 class="first">hello people</h1> <div id="sliderFrame"> <div id="ribbon"></div> <div id="slider"> <img src="images/sl-1.jpg" alt="Welcome to Design3d.nl" /> <img src="images/sl-2.jpg" alt="Customizable Transition Effects" /> …

Member Avatar for Dani
0
3K
Member Avatar for sam023

i want to know is there any inbuild function to add spaces in javascript after particular interval..!!? there is string '00009999' i want to add blank space 0000 9999 after every 4 digits.?

Member Avatar for Dani
1
34K
Member Avatar for sinil.jacob

Looking for a web application development company for an enterprise-based web app project. Can anyone suggest me an experienced web app development organization?

Member Avatar for Alenk
1
232
Member Avatar for sheeview

im trying to get PHP operate well with javascript. I have looked on internet and put all the solution inside at once but none work. I want to create a cross-site AJAX request but i cant seem to be able to have session_start() stick. I have this PHP code on …

Member Avatar for Stelian_1
1
420
Member Avatar for ChrisJ

I've added a SweetAlert into an existing upload Form, where upon selecting the Submit button it successfully displayed the pop-up alert. Like so: $('#submit-btn').on('click',function(e){ e.preventDefault(); var form = $('.pt_upld_page_frm'); swal.fire({ title: "Are you sure?", type: "warning", showCancelButton: true, confirmButtonColor: "#DD6B55", confirmButtonText: "Yes, submit it!", closeOnConfirm: false }).then((result) => { if …

Member Avatar for SolidSolutions
0
195
Member Avatar for John_165

I want to display name,description and image in `GridView.` export default function NFTViewer({ }) { const [galleryList, setGalleryList] = useState([]); const metadata = []; const cardActions = []; const [data, setData] = useState() useEffect(() => { const getNFTDetails = () => { fetch("http://localhost:4000/getDetails").then(response => { return response.json() }) .then(posts => …

Member Avatar for AndreRet
0
64
Member Avatar for ChrisJ

I'm trying to add something to this JS, for a successfully working submit Form: $('#upload-form form').ajaxForm({ url: '{{LINK aj/ffmpeg-submit}}?hash=' + $('.main_session').val(), beforeSend: function() { $('#submit-btn').attr('disabled', true); $('#submit-btn').val("{{LANG please_wait}}"); }, success: function(data) { if (data.status == 200) { window.location.href = data.link; } to get a message to display before the Form …

Member Avatar for Vijay_34
0
104
Member Avatar for R_850

Hi, first of all let me thank anyone willing to help out with this. Jquery / Ajax update Span or Div by ID without refreshing page <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="refresh" content="60"> <!-- Esta línea hará que la página se actualice automáticamente cada 15 segundos--> <meta charset="utf-8" /> …

Member Avatar for rproffitt
0
172

The End.