15,694 Topics

Member Avatar for
Member Avatar for Darsh95

hi i want to add an instant quote calculator on the about page and i want to know the steps on how to do it. im using asp.net mvc5

Member Avatar for pritaeas
0
172
Member Avatar for crazyvonzipper

Hi al you wonderful daniweb peoplez :) I am currently on a mission to write some cool javascript / jquery / ajax controls and now i realised that if I call the control multiple times it seems to lose scope. I realise that this is a small design flaw, and …

0
242
Member Avatar for michael.james.90475

I want to resize my caroseul on click of a button. Below is the code that needs to be changed. Width: 100% needs to be changed to width 50%. I am using JQuery maybe there's a way using that but nothing works so far other than changing the CSS itself …

0
186
Member Avatar for jonsan32

I'm having trouble applying the javascript necessary to close one set of sub-menus when another set is opened. The tutorial site provided some demo code that works, but I can't get it to work without displaying all the various buttons to activate the other available skins. Up top is the …

0
232
Member Avatar for UK-1991

Hello, I have no such information or you can say less information about the ajax can anyone help me out the thing is that i want to pass dir id in the get url but that get id will be selected by the user though from a drop down i …

Member Avatar for UK-1991
0
172
Member Avatar for rsleventhal

Hi, I'm a total hack with jquery and need some help. I've an html select list and a text area. The select has about 25 options in it. When a specific option is selected, I'd like to populate the text area with some text. Example: HTML: <label for="comments">Technician Comments: </label><textarea …

Member Avatar for JJenZz
0
2K
Member Avatar for isaac.iji.5

what i need is how to save the file part to mongodb using mongoose and also the image id, and also get each image in a link such as localhost//3000/users/photos/234 as u can see im a newbie here thanks /*Define dependencies.*/ var express=require("express"); var multer = require('multer'); var mongoose= require …

0
94
Member Avatar for martin-nelson

I am using the ShieldUI jQuery chart plugin and have the following issue. I went through the basics of binding the control to static data and all works well. However, I would like to load live or dynamic data to the chart.

Member Avatar for baker-thomas
1
140
Member Avatar for isaac.iji.5

hi i used multer to create an upload script now i would like to display the photos uploaded by eacch user on diff pages with diff adrees i.e exprome.come/photos/234 and also every photo would have its comment. any ideas? i think every comment should be saved with the photo id …

Member Avatar for isaac.iji.5
0
207
Member Avatar for Samyx

My code is working for the Agents, Labs and Investigator's grid, but when I add the last grid 'Vaccines', the grid does not display. According to firebug there is a "TypeError:W.localdata is undefined" It seems to be a problem with my orders3 data, but I can't figure out what. Can …

0
143
Member Avatar for davy_yg

How to change the format of: --> var enterDate = '2016-01-15'; // to 2016-01-15T00:00:00.0000000+08:00 with JS syntax? // I try these and none of these works out: 1) enterDate.format("yyyy-mm-ddT00:00:00.0000000+08:00"); console.log(enterDate); 2) enterDate.toLocaleFormat("%B %e, %Y %M:%S"); Thanks in advance.

Member Avatar for diafol
0
376
Member Avatar for Siberian

I want to style only a span using javascript; I'm using: variable name.className=""; Everythihing in the Div is whatever color I set for the style, instead of strictly the span ?

Member Avatar for diafol
0
189
Member Avatar for UK-1991

$(window).resize(function() { var y = screen.width; if ( y >= 767){ $(window).scroll(function(){ var x = $(this).scrollTop(), transY = (x * 0.3), scale = 1 + (x * 0.00003), transform = 'translateY('+transY+'px) scale('+scale+') translate3d(0,0,0)'; $('#banner .col-sm-6 img').css({ opacity: 1 - (x * 0.0008), WebkitTransform: transform, MozTransform: transform, msTransform: transform, transform: transform …

0
57
Member Avatar for Ritesh_4

Hello Is it possible to use SQL queries in a JS file? Example I have the following code, and would like for each input[type='text'] encountered, to save its value to a sql table in a column: jQuery("input[type='text']").blur(function(){ var id = jQuery(this).attr('id'); var inputVal = jQuery(this).val(); });

Member Avatar for Lau_1
0
295
Member Avatar for Mike Askew

I've inherited some code utilising the bootstrap framework. I'm currently seeing some odd behaviour where no matter what date was last picked, the date picker always seems to open showing the month of July. Is there any particular places in the code I should be looking to see if anything …

Member Avatar for Mike Askew
0
963
Member Avatar for thilipdilip

Hi, I want to submit form data, once the user close browser tab or browser window. Using javascript or jQuery.

Member Avatar for rproffitt
0
84
Member Avatar for Latrell_vie

Hello ! I want to improve my website. Currently I'm using a circular Logo. Now i want to change that logo to a spinning ball with the logo on it. How can i achieve this. # What software/programm should i use ? # I haven't found any javascript and jquery …

Member Avatar for Kelly Burby
0
290
Member Avatar for chrisschristou

hello friends i have just a short question. i want to make i calculator in avascript to change the value a html field in real time i have my script before the html body tag close function calculTarif() { var prix = parseFloat($("#prix").val()); var poid = parseFloat($("#poid").val()); var total; if …

Member Avatar for lps
0
244
Member Avatar for SimonIoa

helloo i have created a login/register box but javascript doesnt work. I dont see an error and it used to work but i have reinstall the local server and now any of my javascripts dont work. Any help? <script type="text/javascript"> $(document).ready(function() { $(".tab").click(function() { var X=$(this).attr('id'); if(X=='signup') { $("#login").removeClass('select'); $("#signup").addClass('select'); …

Member Avatar for SimonIoa
0
435
Member Avatar for Matt_17

I am writing a web site and I am using javascript to read/write to a file. There are multiple sites that say to do this: var file = new File(txtFile); however, it doesn't work. I fired up chrome's developer tools and went to the javascript console, and it gave me …

Member Avatar for stbuchok
0
209
Member Avatar for divyakrishnan

Hai Everyone.. Could someone please tell me that is there any jquery plugin to upload an image with editing functionality like resize,drag position as in shown Facebook profile picture upload?

Member Avatar for diafol
0
185
Member Avatar for harinagarjuna

Hello, I have created a dropdown lists using javascript dynamically. But i am not able to get the selected option values of that dropdown lists. could anyone please help.

Member Avatar for diafol
0
236
Member Avatar for Ritesh_4

Hi Anyone can pls help me with a unique random number generator of length 3, prefixed with values from DDMMYYYY (e.g. for today's date 25062015001)?

Member Avatar for Ritesh_4
0
172
Member Avatar for gogs85

Hello i have problem on mobile device to prevent on click to another image to hide first. This is for hover effect and work fine : $("div.mitarbeiterfoto") .mouseenter(function() { var id = $(this).attr("id"); var idInfo = $(this).attr("id").substr(5); ($(this).find('img').css('display', 'none')); ($('#' + id + '_o').css('display', 'block')); showInfo(idInfo); }) .mouseleave(function() { var …

0
116
Member Avatar for xGrimReaperx

Hello I have two array that I want to use like String.Format Array 1: { "{0}", "-", "{1}" } Array 2: { "1", "2" } I want to use values from Array 2 to replace all {0}, {1} in Array 1 etc. so what I have tried: var i = …

0
87
Member Avatar for AntonyRayan

Hi, I Show list of standards in one select box, Based on that selection, I will display the related section in another select box, after that I will nter remaining fields normally, then it will save into DB. My question, How to edit that second Select box values in ajax …

Member Avatar for AntonyRayan
0
172
Member Avatar for Nybuler

Greeting to all! Thank in advanced for help I wanted to retrieve a value in text area using javascript and store it into s variable so that i can pass the variable as parameter for AJAX purpose. This might be a stupid question.... and i'm sorry about that~ besides, thank …

Member Avatar for ahmadmomi
0
7K
Member Avatar for Vaibhav_6

i have a login form and another form..i want to check user is logged in or not while user in on home page and he/she want to jump on another page.

Member Avatar for Lau_1
0
117
Member Avatar for mehnihma

I have a problem with unchecking checkbox with dynamic id. Both of them are checked but I need to set if one is clicked that other one is disabled then this is example: <input id="value_Ture_do_30_15_0" class="rnr-checkbox" name="value_Ture_do_30_15[]" value="1" checked="checked" type="checkbox"> <input id="value_Ture_preko_30_15_0" class="rnr-checkbox" name="value_Ture_preko_30_15[]" value="1" checked="checked" type="checkbox"> I have tried …

Member Avatar for mehnihma
0
260
Member Avatar for Hsn_1

Hello everybody I'am trying to execute JavaScript in GeckoWebBrowser my code is : Hide Copy Code GeckoWebBrowser1.Navigate("javascript:void(" + TextBox2.Text.Replace("""", """""") + ")")` my JavaScript is : Hide Copy Code var r = confirm("Press a button"); if (r == true) { x = "You pressed OK!"; } else { x = …

Member Avatar for stultuske
0
1K

The End.