Hello i'm to make a vacations script calculator <div id="content"> <form class="form-container"> <input class="emri" type="text" placeholder="Name"> <input class="mbiemri" type="text" placeholder="Last Name"> <input class="Vendosni-Datelindjen" type="text" placeholder="Birthday"> <select class="drop-down-select"> <option selected="selected" value="Select Zone">Select Zone</option> <option value="Zone A">Zone A</option> <option value="Zone B">Zone B</option> </select> <select class="drop-down-select"> <option selected="selected" value="Nr of persons">Nr of persons</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> </select> Start <input type="date" value="" /> Finish <input type="date" value="" /> HERE TO SHOW TOTAL PRICE </form> ` <a target="_blank" title="Contact Us On WhatsApp" href="https://api.whatsapp.com/send?phone=123456789&text=HERE TO COPY ALL MY INPUT VAULE AND TO PASTE ALL TO WHATSAPP MESSENGER"> <i class="fa fa-fw fa-whatsapp" style="color:#fff"></i> <button …

Member Avatar
Member Avatar
+0 forum 1

I’ve created animated `rect` shape with **greensock**. It's not working on jsfiddle so created on [codepen](https://codepen.io/anon/pen/PdezOj) I’ve three shapes. I need help with following, 1. make it 100% height & width of viewport 2. it stops for a while before repeating, move `rect` without any gaps 3. they bacomes one rect while ending keep fixed distance between all 3 rect <svg x="0px" y="0px" width="100%" height="100%"> <rect x="0" y="0" fill="none" stroke="#88CE02" stroke-width="4" stroke-miterlimit="30" width="100%" height="100%" id="rect1" /> <rect x="0" y="0" fill="none" stroke="#ce4201" stroke-width="4" stroke-miterlimit="30" width="100%" height="100%" id="rect2" /> <rect x="0" y="0" fill="none" stroke="#8601ce" stroke-width="4" stroke-miterlimit="30" width="100%" height="100%" id="rect3" /> </svg> <script …

Member Avatar
Member Avatar
+0 forum 1

hai all, i want to convert indian rupees into words, is there any function in javascript or any useful links are appreciated.. how to convert indian rupees to words for ex 234.45=Two hundred thirty four rupees and fourty five paise only. this want for any number upto billions..

Member Avatar
Member Avatar
+0 forum 21

1) What I'm trying to do: Uploading a file with aws s3 and then taking the filename and filetype and placing it at the end of the url to save it in sql so that every time the person logs in, it will pull the picture up by user image url 2) Problem: Not uploading and not recognizing file in filename or filetype. Coming up with undefined for filetype and filename in URL and signedURL 3) fileUploadService.js USED IN NODEJS (below) Can anyone let me know what I'm doing wrong or anything missing? const aws = require('aws-sdk'); aws.config.region = 'us-west-2'; …

Member Avatar
+0 forum 0

I'm a newbie in php and I want to create a single login page for Admin and user.When admin log in it should go to an admin page and when user log it shoult go to index page.I want help with my code, it works fine login normal users but i try it addind the admin part and it doesn't seem to work .Please help and Thanks in advance .. This is my validation code for the login <?php if(!empty($_POST)){ if(isset($_POST["username"]) &&isset($_POST["password"])){ if($_POST["username"]!=""&&$_POST["password"]!=""){ include "conexion.php"; $user_=null; $sql1= "select * from user where (username=\"$_POST[username]\" or email=\"$_POST[username]\") and password=\"$_POST[password]\" "; $query = …

Member Avatar
Member Avatar
+0 forum 6

Borders are animating one after one. Need help to animate all borders at same time Here is running example [jsfiddle](https://jsfiddle.net/npLsm0j2/) **CSS** * { padding: 0; margin: 0; outline: none !important; } body { background: #E0D4D4; overflow: hidden; } .borders { height: 100vh; width: 100vw; position: absolute; display: inline-block; z-index: 1; } .border-t { position: absolute; z-index: 1; height: 1px; top: 60px; left: 60px; width: calc(100% - 60px * 2); } .border-t-l-wrap, .border-t-r-wrap { position: absolute; top: 0; height: 100%; overflow: hidden; } .border-t-l-wrap { left: 0; width: 50%; } .border-t-r-wrap { right: 60px; width: calc(50% - 60px); } .border-t-l { …

Member Avatar
Member Avatar
+0 forum 9

Hello, In my project I have a form with many inputs and one object is using DropzoneJS to attach files. Since I store all the inputs when I post the form I need somehow to read the file names of the uploaded files in my server, currently I can only get the list of the original filename of the files that are uploaded. For many reasons when a file is uploaded I am giving it a random name with time() function. A part of my HTML form <form id="appointment-form" class="box-body no-padding"> <input name="firstname" type="text" /> <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 …

Member Avatar
Member Avatar
+1 forum 4

Hi 1.am able to run using XAMPP on PC. When i run from my board, am not getting proper data. I mean it is not fetching the file index_1.txt.html and index_1.txt file are available in same path in sd card. Anything wrong 2.Instead of using second argument with file name, is it possible to use as a function and call it in same file in below code xhttp.open("POST", "index_1.txt", true); Please suggest Thanks and Regards Rizwan Syed

Member Avatar
Member Avatar
+0 forum 2

I have tried my best to find an info about this on the internet, but had no luck, sadly. So I would ask here: Please take a look on this [spam link removed] Can anybody tell me please how to make the same contact form (at the bottom-right corner)?

Member Avatar
Member Avatar
+0 forum 1

I need some help to add few audio effects to website. I found some examples like following, audioOn: true audio.muted = false setAudioOn true ref: "audio", attrs: { "id": "projects-audio" } }, [_c('source', { attrs: { "src": "/audio/click.mp3" } playAudio: function playAudio() { this.$parent.$refs.clickAudio.volume = 0.8; this.$parent.$refs.clickAudio.play(); }, I need help to play audio using **play() **, control volume using **volume = 1** What is **workClick: ?** I found it used with sound properties. So, basic needs are play various sounds - on click, background music, control volume of background music, play sound on overlay appears

Member Avatar
Member Avatar
+0 forum 12

Hello all, I am trying to understand how to use animation.js: This is what I did: And the result is only HTML text. I expect to see : http://animejs.com/documentation/#functionBasedDuration The first animation appears. I wonder what's lacking. My link to the js is already correct: <html> <head> <script src="anime-master/anime.min.js"></script> <script> var cssSelector = anime({ targets: '#cssSelector .el', translateX: 250 }); </script> </head> <body style="background-color: gray;"> HTML <div id="cssSelector"> <div class="line"> <div class="square el"></div> </div> </div> </body> </html>

Member Avatar
Member Avatar
+0 forum 2

Can you help me to programe a window pop up in my site say in it write your email which code should i use in html and javascript

Member Avatar
Member Avatar
+0 forum 2

If you viste www.topelven.com you will find a perfect website devloped but till now i can't understand what they code with css can you give me exemple

Member Avatar
Member Avatar
+0 forum 2

Hello The line of code below works, but I want to use a variable name for the name="1" part alert(document.querySelector('input[name="1"]:checked').value); I currently have an id (string data type) stored in a variable: currentarowID = tbl2.rows[i].id; but I can't work out how to put currentarowID inside the document.querySelector part - so something like: alert(document.querySelector('input[name=currentarowID]:checked').value); Any help much appreciated.

Member Avatar
Member Avatar
+0 forum 1

how to create a chat link on my web base app

Member Avatar
Member Avatar
+0 forum 1

Hello, I have been searching around the net looking for solutions to my problem, but none have worked. My issue is that when i redirect using: <meta http-equiv="Refresh" content="0; url=<?php echo $URL; ?>"> The hash tag part of URL gets removed by IE. So example.com/sample#foo will just load as example.com/sample. This happens in all version of IE and appears to be a bug, but the question is how do I get around this issue? Here is the redirect page template for wordpress that I am using: <?php /* Template Name: Redirect */ ?> <?php if (have_posts()) : the_post(); ?> <?php …

Member Avatar
Member Avatar
+0 forum 5

Hello friends, I want to develop a online typing tutor using codeigniter......for hindi language (typing in computer with the help of **hindi indic 3** or** hindi indic 2 typing tool**) .......i know the php and codeigniter with css.....please give me guidance to develop it......what language i need to learn.....and how can be typing using these tool............. how many days will it take to learn............

Member Avatar
Member Avatar
+0 forum 4

Hello Guys! Please i need help with my dynamic table, everything seems to be working fine except for my onchange event for each dynamically added row, it only inserts into the first row, but when i select an option from the second added row, the feilds to be updated from the database remains blank. I used alert to check, and the onchange seems to be working on all rows just that it is only the first row that changes are effected to the required fields. Bellow is my code for your review. //php script at the top of the page …

Member Avatar
Member Avatar
+0 forum 1

Hi guys, I've got an issue with my angular application, I've got a form which is meant to create a new record (object) and push this object into an array. My set up is the following: I have a book.component.ts whic contains an array of IBooks as such: books: IBook[] = [ { "bookID":356, "bookAuthor":"John Beck", "bookTitle":"The story of my life", "location":"Shelf downstairs", "medium":"paper", "notes":"" }, { "bookID":900, "bookAuthor":"Jack Mills", "bookTitle":"They", "location":"Shelf downstairs", "medium":"PDF", "notes":"This is on my laptop and phone" } ]; This file also contains the static method static createNewRecord($record): void{ console.log("createNewRecord() called"); console.log($record); this.books.push($record); console.log($record); // $event.preventDefault(); …

Member Avatar
Member Avatar
+0 forum 5

Hello, so I'm trying to create an augmented reality web based app following this tutorial : [Augmented Reality in 10 Lines of HTML](https://medium.com/arjs/augmented-reality-in-10-lines-of-html-4e193ea9fdbf) Im using xampp. The page is there but when I use the hiro image target nothing appears. My code is the same except that i changed the source according to my root folder. ![demoAR.PNG](/attachments/small/4/323f4639fbbb4d3e74807c8f8fdbe072.PNG "align-left") Anyone have this problem?

Member Avatar
Member Avatar
+0 forum 1

I want to learn

Member Avatar
Member Avatar
+0 forum 1

Hi, I am trying to move from a Xrm.Page code to pulling from a library. I want a notifiction whenever the field value is tagged as needing to be notified. right now the code that works is.... var message = "This person needs to be notified"; function SetANotification() { if (Xrm.Page.getAttribute("abc_6").getValue()) { Xrm.Page.ui.setFormNotification(message, "INFO", "NOTE"); } else { Xrm.Page.ui.clearFormNotification("NOTE"); } } However, like I said instead of using the form commands I want to pull from another library (executionContext). I recieve an error stating "TypeError: Unable to get property 'getValue' of undefined or null reference at....". So the code I …

Member Avatar
Member Avatar
+0 forum 1

I have a table on my web page that is currently updating with random Data, see below: function changeContent(){ var i = 1; var len = numberRows; var random1 = Math.floor( Math.random() * 90 ) + 10; var random2 = Math.floor( Math.random() * 90 ) + 10; var x=document.getElementById('myTable').rows; var y=x[0].cells; for (; i < len; i++) { var d = new Date(); // for now y=x[i].cells; y[0].innerHTML=eventNumber++; y[1].innerHTML=Math.floor( Math.random() * 90 ) + 10000 y[2].innerHTML= (d.getHours()<10?'0':'') + d.getHours() + ":" + (d.getMinutes()<10?'0':'') + d.getMinutes() + ":" + (d.getSeconds()<10?'0':'') + d.getSeconds(); y[3].innerHTML=Math.floor( Math.random() * 90 ) + 10; y[4].innerHTML=Math.floor( Math.random() …

Member Avatar
Member Avatar
+0 forum 4

I have a script for product Invoice which save details of sold product, but it do not update stock quantity when any product sale. Product quantity in stock remain the same which should decrease.. here is the code to save invoice details using for each loop : <?php function saveInvoice( array $data){ if( !empty( $data ) ){ global $con; $count = 0; if( isset($data['data'] )){ foreach ($data['data'] as $value) { if(!empty($value['product_id'] ))$count++; } } if($count == 0)throw new Exception( "Please add atleast one product to invoice." ); return [ 'success' => true, 'uuid' => $uuid, 'message' => 'Demo Purpose I …

Member Avatar
+0 forum 0

hai i need php code for simply drop and drop to create website coding ...pls help me ...

Member Avatar
Member Avatar
+0 forum 6

Hello, I am looking for a new IDE. I am currently using netbeans to develop a website in php/mysql. I like a lot of things about netbeans, but I don't like that it doesn't come with built in compilers/debuggers. You have to manually go and add/link them on a language-by-language basis. This isn't too bad in theory, but sometimes it doesn't work like it should, which can cause a huge headache. I had a hell of a time getting a debugger to work for php. I am now adding javascript/jquery to the website, and discovered that the debugger I already …

Member Avatar
Member Avatar
+0 forum 3

How can I find the parent tr from the closest child tr e.g. from the second child tr, how can I get to the first parent tr? Below is the html table: <table> <tr class="menu"> <td><input type='text' class='parent' value='First Parent'></td> </tr> <tr class="submenu"> <td><input type='text' class='child' value='First Child'> </td> </tr> <tr class="submenu"> <td><input type='text' class='child' value='Second Child'> </td> </tr> <tr class="menu"> <td><input type='text' class='parent' value='Second Parent'></td> </tr> <tr class="submenu"> <td><input type='text' class='child' value='First Child'> </td> </tr> </table> I have tried the following JQuery code: $(this).closest('tr.submenu').closest('tr.menu').find('.parent').val(); $(this).closest('tr.submenu').parent('tr.menu').find('.parent').val(); $(this).closest('tr.menu').find('.parent').val(); $(this).closest('tr.submenu').prevUntil('tr.menu').find('.parent').val(); $(this).closest('tr.submenu').parentsUntil('tr.menu').find('.parent').val(); $(this).closest('tr.submenu').parents(':first-child').find('.parent').val(); All attempts have failed. How can I get the parent …

Member Avatar
Member Avatar
+1 forum 3

I found this script in internet. Is it possible using this script to get the value of dropdown for each row and put it in the textfield. For example, after add row clicked, and dropdown clicked, the value of the dropdown appears in the textfield. Here is the code: <HTML> <HEAD> <TITLE> Add/Remove dynamic rows in HTML table </TITLE> <SCRIPT language="javascript"> function addRow(tableID) { var table = document.getElementById(tableID); var rowCount = table.rows.length; var row = table.insertRow(rowCount); var colCount = table.rows[0].cells.length; for(var i=0; i<colCount; i++) { var newcell = row.insertCell(i); newcell.innerHTML = table.rows[0].cells[i].innerHTML; //alert(newcell.childNodes); switch(newcell.childNodes[0].type) { case "text": newcell.childNodes[0].value = ""; …

Member Avatar
Member Avatar
+0 forum 12

There is javascrit functio is calling on button click and this form get created by Iframe i just want to set link to be open in new tab or window top.location.href=queryString; return false; this is redirection link but opening is same page I want this to be open in new window or tab remeber this line is inside iframe block

Member Avatar
Member Avatar
+0 forum 1

I've this code for my AJAX script $(document).ready(function() { $("#submit").click(function(){ var acc = $("#accountNumber").val(); src = "pass.php"; $.ajax({ url: src, data: 'action=account&type=viewDetail&accNo='+acc, cache: false, type:'GET', success: function(data, textStatus, XMLHttpRequest){ if(data!=0) { // alert(data); $("#userInfo").html(""); $("#userInfo").css("display","block"); $("#userInfo").append(data); }else { $("#userInfo").html(''); $("#userInfo").append('<span class="alert-red alert-icon">Please Enter correct Account Number.</span>'); $("#userInfo").css("display","block"); } }, error:function(XMLHttpRequest, textStatus, errorThrown){alert(textStatus); alert(errorThrown);} }); }); }); This scripts loads data from server and while I want to retrieve another account information it takes time. So I want to display some spinner while the data being fetched. Anybody could help?

Member Avatar
Member Avatar
+0 forum 3

The End.