15,700 Topics

Member Avatar for
Member Avatar for Luke_4

Trying to remove the autocomplete in this https://jsfiddle.net/59rphg1h/9/ and replace it with the autocomplete in this https://jsfiddle.net/mhxwcj7u/1/ and retain the ability to print the way the fist fiddle prints (Airshow's excellent work). The reason is that the second fiddle has the ability to change the data (addins), and be be …

Member Avatar for Luke_4
0
472
Member Avatar for SolidSolutions

iPhone and more can automatically recognize phone numbers and make them an active link to click and initiate a call to that number. I can do this on many webpages, but not in myTinyTodo task list. Anyone know what might be preventing the phones from being able to recognize the …

Member Avatar for John_142
0
566
Member Avatar for Siberian

How can I take a path such as what you see below and have Javascript make a visible circle or dot based on the path class ? As well output the points based on a canvas coordinates, canvas name being irrelevent, I hope ? ;-) <path class="st0" d="M73.3,73.1"/>

Member Avatar for Siberian
0
898
Member Avatar for Luke_4

My code is here https://jsfiddle.net/yqjuy3m1/1/ .. I know my print html is out dated (could be my issue) so any updated approach is welcome. What I am trying to do is, when the print button is clicked, 1. Keep the selected value in the search box at print, along with …

Member Avatar for Luke_4
0
2K
Member Avatar for Siberian

How do you access a variable inside a function without placing the variable inside of the function in Javascript ?

Member Avatar for Siberian
0
494
Member Avatar for tangara

Hi, Currently, I am stuck with this problem whereby I do not know how to make my text disappear with a click of radio button event. To start with, the data is being drawn out using Store Procedure and the data appeared inside the textboxes when user selected a item …

0
151
Member Avatar for Luke_4

Trying to get just the search results (inside and outside the search box). Everything else on the page, which is NOT involved with the search box and its results, should not print. Tried many types of @media and css but can't seem to find the answer. I may be doing …

Member Avatar for Luke_4
0
500
Member Avatar for davidjennings

Hi All, I am trying to get tooltip to work when I hover text in a table. It does work but it produces an extra data table column. If you have any idea how I can stop this, please let me know. Thanks David <script type="text/javascript"> $(document).ready(function(){ $('[data-toggle="tooltip"]').tooltip(); }); </script> …

Member Avatar for davidjennings
0
271
Member Avatar for Jason_26

Hi, I wanted to enhance my front end development skills, Should I learn angular2 or reactjs, and where can i find any helpful resources, like any ood book or course, videos Please guide, thanks

Member Avatar for vsmash
0
148
Member Avatar for robert.wynter

I'm using Salesforce Ampscript code with jQuery to access a table in a DB to populate. which wasn't working. I've stripped out the Ampscript code to just have a simple jQuery function and funtion call with a static table and I can see that my problem is that my jQuery …

Member Avatar for vsmash
0
531
Member Avatar for koneill

All, I'm trying to validate using JavaScript some form fields - so that if the Visa or Mastercard radio buttons are clicked - then the card number or expire date must also be filled in - what would be the recommended approach for this: JavaScript code: <script type="text/javascript"> function paymentCheck(){ …

Member Avatar for vsmash
0
1K
Member Avatar for Ka Kit

i am doing tab panel and anchor(eg html?tab=profile#f1) in bootstrap Please run http://www.timothyhui.com/test/boom/hash_tab/ver2/go.html as example i made some examples with parameter in one page, when user click one of example and go to another page. Then that page gets parameters and anchor, then the tab will be changed and anchor …

0
154
Member Avatar for sganandhsg

Hi All, We are using zetta cube with asp.net and vb.net (coding) in 3.5 framework / VS 2008 from 2010. Its working fine. Just 3 months back we are upgraded to IE11 (Edge mode) at the time of upgrading we faced some of UI issues and resolved the same. The …

Member Avatar for rproffitt
0
441
Member Avatar for mathaba
Member Avatar for rproffitt
0
88
Member Avatar for Serena_2

I'm beginner to **php/mysql** (quite familiar with PHP, mysql), **novice** to **XMPP**. I have created my site in simple **php/mysql/javascript/jquery**. I'm trying to add simple Private Chat to my web site. Trying to integrate **[JSXC Chat](https://www.jsxc.org/examples.html)** into my website. Please Guide me how to create **chat database**, install **XMPP server**, …

Member Avatar for diafol
1
2K
Member Avatar for davy_yg

Hello, I download free filemanager to integrate with TinyMCE. I am trying to customize another extension to upload to Roxyfilemanager. Can anyone help me with the customization? Please read this quickly: http://www.roxyfileman.com/custom-integration and Here is my custom.js: function FileSelected(file){ /** * file is an object containing following properties: * * …

0
140
Member Avatar for Rajeshwari_1

Please help me out. I have a table with one row. I can add rows to it by clicking add button which adds rows through javascript code. I have 3 dropdown columns and one textfield and one more textfield which is not editable. So i need total of last column. …

Member Avatar for diafol
0
131
Member Avatar for Siberian

I'm attempting to print a variable print(<variableName>) but I get an error it's not a; function ? I searched online and all I could find is that; it's not a function so how can I fix this; I don't know another command.

Member Avatar for ddanbe
0
437
Member Avatar for PKI

I have a validateRequiredField(e) function to validate empty field and a validateExistingEmail() to validate an email has existed in my database. I am able to see both alert("Field" + i + "is Required"); when the fields are empty and alert("This email has been registered"); when the email existed in my …

Member Avatar for otengkwaku
0
593
Member Avatar for davy_yg

What is the difference between main/index.php and main/ ? Can anyone help me figure that out? I have edit http://www.masterlink.co.id/index.php file yet when I checked it in http://www.masterlink.co.id the file does not load index.php. I thought it suppose to be automatic like http://www.masterlink.co.id/index.php = http://www.masterlink.co.id Can anyone help me figure …

Member Avatar for cereal
0
374
Member Avatar for Jeremy_7

I need to validate a name field to validate if the name field is empty and if the name existed in my database. If it passes both the validation(the user has input a name that is not existed in my database), then the form will be submitted. The problem is …

0
188
Member Avatar for Violet_82

Hi guys, I will soon have a licence to run webstorm on one machine (at work) but I need to think of some other free IDE which supports typescript ideally natively on a different laptop running windows and linux (at home). I had a look around of course, but as …

Member Avatar for diafol
0
418
Member Avatar for Richard_35

I have a website that is not mobile friendly, its designed in plain html and css how do i make the website responsive how do i make the menu go small on a mobile device and allthe elements to fit properly

Member Avatar for gentlemedia
0
368
Member Avatar for Clif40RD

Hi I'm having a problem implementing a mini shopping cart drop down in the header to show the user all the products they have in their shopping cart. It seems the only solution for this is Ajax, and I've looked all over and can't find anything that I could possibly …

Member Avatar for Xavier_5
0
2K
Member Avatar for Siberian
Member Avatar for Siberian
0
136
Member Avatar for taherg_786

I have a Odoo Server (or take any JS server), deployed on AWS. Its POS works with JS, hence this subreddit. I have connected an automated cashdrawer that works through the use of DLLs. Since I couldn't find anyway to connect, I used a third party (Firebase DB) to pass …

Member Avatar for rproffitt
0
202
Member Avatar for patk570

Hey guys, I have a code on excel, that will count the critera if there is more than one box filled out. =COUNTIF(C5:D14,"<>0") But now i am converting this code to jquery and i cannot figure it out. on my page, there is a toggle button, yes/no selector for autopay, …

Member Avatar for Airshow
0
528
Member Avatar for mark_59

/* initialize the calendar -----------------------------------------------------------------*/ var date = new Date(); var d = date.getDate(); var m = date.getMonth(); var y = date.getFullYear(); /* selects the events to load in the calendar -----------------------------------------------------------------*/ $.ajax({ url: 'process.php', type: 'POST', data: 'type=fetch', async: false, success: function(response){ json_events = response; } }); $('#calendar').fullCalendar({ //events: …

0
188
Member Avatar for Violet_82

Hi guys, I just don't seem to get this right at the moment...say I want to create an array of objects, I'd do it this way of course: arrayOfWords[ { "SearchTerm":"mySearchTerm1", "Syn":"synonym1", "Syn":"synonym2", "Syn":"synonym3" }, { "SearchTerm":"mySearchTerm2", "Syn":"synonym1", "Syn":"synonym2", "Syn":"synonym3" } ] That's all OK but I'm now in a …

Member Avatar for Violet_82
0
324
Member Avatar for Violet_82

Hi guys, I'm a git first time user, and I followed this guide to set it up and get it up and running https://git-scm.com/documentation. So I'm now using git from the console (at the moment I'm logged in windows, so let it be the windows console). My question is - …

Member Avatar for Violet_82
0
554
Member Avatar for Miguel_6

I'm trying to do use X-editable to do inline editing instead of having textboxes and such, I'm editing labels that I would like to send in a post method to update the values in the database. Is there anyway to send any kind of data within the <form> besides using …

0
152
Member Avatar for SimonIoa

Hello. I am getting an error on my console `TypeError: a is null jquery.min.js (line 2, column 2722)` that causes the page not to load correctly. Has anyone had the same problem.? could it be a conflict error? i use this version /*! jQuery v2.1.1 | (c) 2005, 2014 jQuery …

Member Avatar for Dani
0
254
Member Avatar for Denis_9

I placed slideshare code: <iframe src="//www.slideshare.net/slideshow/embed_code/key/HQoiz6GR1oLe1n" width="860" height="600" frameborder="600" marginwidth="0" marginheight="0" scrolling="no" style="border:1px solid #CCC; border-width:1px; margin-bottom:5px; max-width: 100%;" allowfullscreen> </iframe> To my presentation page: [check](http://bookofrakostenlosspielen.org/10-regeln-online-glucksspiels/) But there are black area around presentation in mobile version: ![Screenshot_1.png](/attachments/small/4/354ff90d3ec838081dc8476d57b40307.png "align-left") It happens because of height="600", but when I remove this style iframe …

Member Avatar for diafol
0
216
Member Avatar for rudijuri

Hi all, There is a jquery method that has replaced toggle-event (that is deprecated in version 1.8, and removed in version 1.9)? Or is it necessary to use a loop? It was very convenient to have a different event depending on the number of clicks made, as indeed did jquery …

0
133
Member Avatar for Aeonix

Imagine a mailbox. You're about to write to a friend. From staff perspective, someone wants to email Dani, her mail is dani@daniweb.com, but has her in contacts list. You type in "Da", and little tool-tip informs you that it knows this mail, tooltip shows her full name "Dani" and her …

Member Avatar for Dani
0
328
Member Avatar for Start4me

My goal is to make manipulations to an image by adding shapes on top of the image using JavaScript. For example, adding rectangular shapes to an image of a refregirator, as shown below: ![Sample_Of_What_Result_Needs_to_Look_Like.png](/attachments/small/3/9dd037e6ad4d9a1edf955eb0e39abf2a.png "align-left") <!DOCTYPE html> <html> <head> <style> #avaliableSpace { border-radius: 25px; background: #00B050; padding: 20px; width: 125px; …

Member Avatar for Taywin
0
931
Member Avatar for phfilly

I think Im misunderstanding something here - I normally work in PHP and think I'm missing something small. My final array tmp is empty and displays as ",,,,,,,,,,,,,,,," . It seems to me my tmp array might be emptied somewhere or the scope gets reset for some reason. I'm using …

Member Avatar for phfilly
0
326
Member Avatar for Aeonix

https://jsfiddle.net/mvuy7q60/ Using JavaScript (and jQuery). How can I assure that there's only one line shown (instead of entire content of item), and if it's longer than one line, end first line on "..."? Something like this: https://jsfiddle.net/tt9psxz3/

Member Avatar for Dani
0
292
Member Avatar for Aeonix

No jQuery! This is script that I got from [Chris Buttery](http://www.chrisbuttery.com/articles/fade-in-fade-out-with-javascript/) website. Or at least part of it: function fadeOut(el){ el.style.opacity = 1; (function fade() { if ((el.style.opacity -= .05) < 0) { el.style.display = "none"; } else { requestAnimationFrame(fade); } })(); } The problem is that when I run …

Member Avatar for ryantroop
0
496
Member Avatar for Momal_1

A client wants to send a request to server for checking that a string palindrome or not so , you have to make a server-client application, in which client to the server and server resend the response in which it tells that given string is palindrome or not . ( …

Member Avatar for rproffitt
0
194
Member Avatar for mani_12

i have designed a main form with textbox and button(when button is clicked modal popup must open).inside modal popup there are two text boxes and a submit button.i am performing subtraction operation inside modal popup. after submit button is clicked inside modal popup,modal popup is closed and result must be …

Member Avatar for Green_2
0
487
Member Avatar for Connie_3

I typically ask my questions over on StackOverflow, however this one I know would immediately get voted down as requiring someone to give their opinion, heaven forbid! I'm hoping the folks over here are a little more forgiving in this area. I am converting a really old ColdFusion app over …

Member Avatar for Connie_3
2
310
Member Avatar for Aeonix

I hate sharing my code, but I don't have any other option. I tried everything to prevent it, but I need to find out what's wrong about it. http://pastebin.com/zMjne7P0 User focusses out input field (line 83)(I tried inputting ";" for tests, which should return error, as it's invalid name). And …

Member Avatar for diafol
0
598
Member Avatar for Patrick_18

I am working on a project that involves multiple formulas and cannot figure out how to make the formula flow using jQuery. The first formula that i am working with is from an excel spreadsheet: ((C5*24-(E5/2))/24)+((D5-(E5/2))/24) C5 refers to monthly lease or lcost1 E5 Refers to Down Payment or dp1 …

Member Avatar for Airshow
0
1K
Member Avatar for Aeonix

$(document).ready(function () { var a, b, c d = new RegExp("/^[a-z0-9]*$/"), e = true, f = [ "g": false, "h": false, "i": false, "j": false, "k": false ], I changed names of variables for reasons. *Uncaught SyntaxError: Unexpected token :* Line 7. Which is `"g": false,`. Am I missing something?

Member Avatar for diafol
0
1K
Member Avatar for Aarav

Hi, I am working on javascript programming & it allows me to learn HTML which enhance my knowledge of AJAX, JSON and DOM Objects in Javascript which helps me in my learnings. I have faced an issue that how can I use sinon for stubing in mocha node.js which is …

0
84
Member Avatar for Siberian

I've begin to use Paper.js. The first problem I've run into is finding a [CDN](https://cdnjs.com/libraries/paper.js/) that works with JsFiddle, CodePen etc. In my case CodePen; the CDN for which I've found work to a degree what I mean is, I can create a rectangle in a variable, then using the …

Member Avatar for diafol
0
158
Member Avatar for WpExplorerr

Hello :) Around a month ago, i got a custom bookmarklet coded for my wordpress blog and on top of the bookmarklet .js code there is this line var token = 'QzEJ5PJ3/RRO4cubQQiKKNg5au6SESUSkQOK5w9HKFgH6GxVu1NNilA5TYqoMBbz6sKdZP6eQ4GeLyZ1Ht5S/VrHIISvHXKFPxXNUZmRp1M='; I think this is some sort of API key or something that’s specific to a wordpress installation right? …

Member Avatar for Taywin
0
355
Member Avatar for AntonyRayan
Member Avatar for Aeonix

`exampleArray.push("this is an item");` I a thing. But there are also 10 other items within. So I never truly know where that item is (which enumeration). Is there a way of saying `exampleArray.delete("this is an item");` where it will remove item with "that" content? (JavaScript question)

Member Avatar for diafol
0
228

The End.