15,698 Topics

Member Avatar for
Member Avatar for ZER09

with a little research a come up with my script in creating a canvas that would look like this. ![54d736fd19df9f8ac8a05733938b3e59](/attachments/small/2/54d736fd19df9f8ac8a05733938b3e59.png "align-right") it has a multiple link one link per circle. function binTree(aData, source, baseLink){ var canvas = document.getElementById(source), c = canvas.getContext("2d"); c.translate(0.5,0.5); c.fillStyle = "#ffffff"; c.fillRect(0, 0, canvas.width, canvas.height); c.strokeStyle …

Member Avatar for ZER09
0
214
Member Avatar for Indians

i want if user select one value in combo box that value should store in db and then display what they are selected. for example if user select CONFIRM option that value stored in db after that it display CONFIRM instead of that combo box form and button. Here i …

Member Avatar for hag++
0
3K
Member Avatar for grafic.web

Hi there, my simple page in asp.net with ajax does not work... and i don't understand why... I have a button where i applied an ConfirmButtonExtender I have a textbox where i applied an calendarextender but if i run the page this simple ajax does not work... I guess i …

Member Avatar for BMXDad
0
257
Member Avatar for Mallika_P

While resizing rotated element., it moves left side with positive or negative value., but shows left position value same in console log. Any idea? Thanks

Member Avatar for Myronz
0
97
Member Avatar for yaragalla_mural

By the following code i got image as the responce. if (http.readyState == 4 && http.status == 200) { ver image=http.responseText; } actually when i gave a call to server using ajax the server responded with an image. so now i have stored the image in a variable "image". I …

Member Avatar for yaragalla_mural
0
287
Member Avatar for mutago

This chat sound notification script works on Internet Explorer, Safari and google chrome. But does not work on mozila firefox. can someone help me to fix that or an alternative that can work in all browsers <html><head></head> <script type="text/javascript"> var soundObject = null; function PlaySound() { if (soundObject != null) …

Member Avatar for LastMitch
0
437
Member Avatar for karen.frias0316

Hi! my first time here. i'm new to programming. I have a code which checks if a .txt and .jpg file exist in the same folder.(*this part is working well*) after checking it needs to display the value of .txt file and the .jpg file inside a modal popup. (*in …

Member Avatar for LastMitch
0
234
Member Avatar for sania khan
Member Avatar for giovannitao_1

I'm working to script that show smartphone spec list. Now I need to filter result using a sidebar with different checkbox: ex. Brand, Camera, OS, ecc. Users using this checkboxes can show best smartphone that have this spec. I have an xml like this: <rss version="2.0"> <channel> <item> <marca>Samsung</marca> <modello>Galaxy …

Member Avatar for hag++
0
206
Member Avatar for YakuzaJevin

<html> <head> <title> Log in </title> <style> body { width: 1000px; margin: 0 auto; text-align: justify; } body, .text, .justify, tr { color : #f0f0f0; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: normal; } .justify { text-align: justify; } </style> </head> <body background="Dance_wallpapers_211.png"> <h1 style="font-family:Comic Sans Ms;text-align="center";font-size:20pt; color:#00FF00;> <bR> …

Member Avatar for JorgeM
0
230
Member Avatar for gahhon

I have 2 ASP.NET controls, which are the label and textbox. Both of this controls are enclosed with <div></div> When the end-users seletected a radio button which value is `Others` The <div> block and show it up without any postback. by using <div> block is i doing research i am …

Member Avatar for gahhon
0
2K
Member Avatar for gahhon

$(document).ready(function() { clearTextBox(); }); function clearTextBox() { $('#btnReset').onclick = function() { $('#txtName').val = ""; $('#txtContactEmail').val = ""; $('#txtMessage').val = ""; }; } I am using asp.net to develop my web page. Thus, all those control are on server-side. But whenever my `btnReset` is click is should be clear the textbox …

Member Avatar for gahhon
0
289
Member Avatar for yaragalla_mural

Hi in my javascript i need to increase an int value by one after every 5 seconds. How to do this? The script should keep increasing until the user moves away from the page.

Member Avatar for yaragalla_mural
0
144
Member Avatar for brandon66

Hello everyone i have two forms that are similiar the only difference is the rma number. One RMA number will get typed in by the user which will add it to the database and the second one, the user will select an rma number from the database(dropdown menu). What i …

Member Avatar for brandon66
0
246
Member Avatar for vikasgiri

<script type="text/javascript"> (function($){ $(function(){ $("#frmmsg").submit(function(e){ e.preventDefault(); $.post( 'templatemsg.php', $("#frmmsg").serialize(), function(){ document.location.reload(); }); }); }); })(jQuery); </script>

Member Avatar for JorgeM
0
100
Member Avatar for azapovjednik

Hello, on the top of the page I have a menu created in CSS.... with drop down lists... all looks nice.. later... I added wowslider right below... wowslider plugin is really cool... but the dropdown menus fall behind the slider! so I find it is because of z-index properties... and …

Member Avatar for azapovjednik
0
187
Member Avatar for Shantanu88d

Hi all, I am beginner in javascript. I am attempting to change border color and style of a asp.net text box using javascript. The function is inside a .js file. It is as follows. [CODE]function checkMoney(controlID) { var control = document.getElementById(controlID); var text = control.value; var letter; if (text == …

Member Avatar for designershiv
0
5K
Member Avatar for Affable zaki

i have page in classic asp which shows records from database. i have checkboxes in front of each row. i want to delete all records that are checked.

Member Avatar for designershiv
0
116
Member Avatar for MWEB

Hello everyone !! I need some help with jquery toggle :D . So , I have 2 left bars (one for login , one for register ) but they can be toggled on simultaneos and that is not good ( 1- don't make sense 2- don't look good ) . …

Member Avatar for designershiv
0
178
Member Avatar for WEW123
Member Avatar for designershiv

Hi, Please look at this code <div class="box"> <a href="http:www.google.com" target="_blank">click</a> </div> //css .box { width:250px; height:250px; border:1px solid red; } //script $('.box').click(function(){ $(this).find('a').trigger('click'); }); How to set target _blank when clicking the div.box. click is working fine but it opens the page in same window. Can you anyone have …

Member Avatar for paulkd
0
318
Member Avatar for pars99

How can I get the value of an input field in Javascript? For example, someone types somehing into an input field and I want them to press a button to in turn, store the data in a JS variable. I believe there is such a thing as .value, but it …

Member Avatar for Bachu
0
228
Member Avatar for DarkBerzerk

i wanna make simple script that multiply any input by .51 and show the result automatic, without pressing any button,i got two scripts first script add value one to value two and show result auto, other script multiply but i have to press button, how to merge them :S and …

Member Avatar for designershiv
1
1K
Member Avatar for GeekPlease

Good day folks, I have here a code that will animate 2 divs. But, when I hover over a div multiple times, the animation fires several times. Can someone shed some light on this one? Thanks~! <!DOCTYPE html> <html> <head> <!-- This is where jScript/jQuery starts --> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"> </script> …

Member Avatar for GeekPlease
0
301
Member Avatar for mark103

Hi guys, I'm working on the div class of blocks to control them using the keyboard up and down arrow buttons. I have the list of blocks where 7 of them are showing while the other blocks are hiding. I have text of blocks from block 1 to block 17. …

Member Avatar for mark103
0
155
Member Avatar for MWEB

Hello , so i get an error with ajax when i move the site i scripted to my server ( so on my localhost it works ) . The error is something like origin not allowed by access control allow origin var trimitere = $.ajax({ url: "underpublic/searchforprice.php", type: "get", crossDomain: …

Member Avatar for MWEB
0
169
Member Avatar for Benjamin_5
Member Avatar for NardCake
0
126
Member Avatar for rithish
Member Avatar for ericbpower
0
118
Member Avatar for weeraa

I'm developing a web appication using ASP.NET and VB.NET. In my application im using ajax control tool kit. this is what happned to me... I load data to my AJAX combo box. But when it dropped down, there is a gap between combo box and dropped down list. I search …

Member Avatar for JorgeM
0
966
Member Avatar for siva28

I need javascript for automatic city display when i click one state from list box. for example one list box i fetch karnataka, then automatically cities display whatever cities there in karnataka in another list box . Please reply..am newbee of script writing....

Member Avatar for sameer.javed.10690
0
445
Member Avatar for kshahnazari

I have a ajax fucntion that gets a json array from the php , 8 numbers formed like this ["0","0","0","0","0","0","0","1"] , As I get this in a var called data , data[0] and this kind doesen't work , how can I access this numbers ?

Member Avatar for Bachu
0
355
Member Avatar for masocha

Hello. l am using panzoom [Click Here](https://github.com/timmywil/jquery.panzoom/) plugin. Problem is the plugin allows the image to pan into invisibility. Does anyone know a way l can stop the panning before the image goes into the invisible part of the page.

Member Avatar for LastMitch
0
74
Member Avatar for Kleon

I want to writ a jscript code that asks user to type (example) his name and than that name to be stored in variable x. this is what i have done so far, i am very new on jscript se please somebody can correct me with this. var x = …

Member Avatar for JorgeM
0
154
Member Avatar for mmcdonald

Hi all, I'm using AJAX to reload a div within my script. However it frequently causes the browser to crash. It's happened on two different local environments and I've only been able to test using chrome. Chrome presents this screen: http://i.imgur.com/wq2v7SJ.png The code used to reload the div is: <script …

Member Avatar for mmcdonald
0
210
Member Avatar for AndrisP

How I can passing quantifier as variable in this regexp `str.match(/^(\-)?\d+( (\-)?\d+){3}$/)`

Member Avatar for AndrisP
0
184
Member Avatar for tusharbhatia

Hi, I am trying to create an application which utilizes the distance finder. I want to be able to calculate the distance between two points. I have managed to (with the aid of a lot of tutorials) be able to calculate the distances between two points. Now, in the application, …

Member Avatar for Ravi_10
0
5K
Member Avatar for yaragalla_mural

Hi I have 5 div tags in my html page and there is a print button. when i click on the print button it has to print only a particular div. for example it has to print the 2nd div which contains some personal information. It should not print the …

Member Avatar for JorgeM
0
513
Member Avatar for AK777

Greetings, I am looking for suggestions and feedback about needed bandwidth from a Web hosting company (thinking of VPS or Dedicated) for my websites. Earlier I had asked about how to insert thumbnail (live) images, if possible, of other websites so that users can see a preview (live) of the …

Member Avatar for AK777
0
170
Member Avatar for boney

Hello, My HTML+JS : <head> <script type="text/javascript"> function passList() { var p=[]; $('input.first').each( function() { if($(this).attr('checked')) { p.push($(this).attr('rel')); } } ); $.ajax( { url:'process.php', type:'POST', data: {list:p}, success: function(res) { $("#result").html(res); } }); } function passType() { var q=[]; $('input.second').each( function() { if($(this).attr('checked')) { q.push($(this).attr('rel')); } } ); $.ajax( { …

Member Avatar for boney
0
225
Member Avatar for shasta90

What option for cURL needs to be changed in order to retrieve the XML content, as I have added the curlopt option for xml content but all that happens is the JS error of "no data received" <?php $agent = $_SERVER["HTTP_USER_AGENT"]; $timeout = 5; // set to zero for no …

Member Avatar for shasta90
0
410
Member Avatar for YakuzaJevin

Can someone help me with my codes about the log in using javascript, everytime i log in it opens a new window for the homepage, but i want it to be in the same window, thank you :D <html> <head> <title> Login page </title> </head> <body background="black_background_metal_hole_very_small-wallpaper-2560x1600.jpg"> <h1 style="font-family:Comic Sans …

Member Avatar for YakuzaJevin
0
235
Member Avatar for alex.plouff

needing help with homework - calculator using javascript i need to grab the text from the <input> and use that number in the equation. <script> function runMe(){ var x == document.getElementById('input1').value; document.write(x); } </script> <body> <form> Enter number <input type="text" id="input1" value=""> <input type="submit" onClick="runMe"> </form> </body>

Member Avatar for AndrisP
0
124
Member Avatar for Violet_82

Chaps, I run into a strange problem today for the first time. Basically I have a web page that users can print using a print button on the page itself, but what I want is them to be able to print a print-only version of this page. So, I wrote …

Member Avatar for Violet_82
0
263
Member Avatar for shrikanthnk

hi kindly help me here..... i have written code like this to display **hi** when page gets loaded. please correct it this code so as to display message. <html> <head> <script type="text/javascript" src="jquery-2.0.3.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("#b").load(function(){ alert("hi"); }); }); </script> </head> <body> ......... ...... .... </body> </html>

Member Avatar for JorgeM
0
128
Member Avatar for shrikanthnk

Hi All, Below code gives me exact result which I want.. output gets displayed at div # result which is as per design. Now i wouldlike to know is there any method to display result in textbox? if so please help me. <html> <head> <script type="text/javascript" src="jquery-2.0.3.min.js"></script> <script type="text/javascript"> { …

Member Avatar for diafol
0
585
Member Avatar for giovannitao_1

Hello, I'm working to cellphones spec script. Now I want to create a sidebar with several checkboxes that filter result using ajax. Someone can help me to create this?

Member Avatar for giovannitao_1
0
109
Member Avatar for miguel1810

Hey, I could sure do with some help on this... Been pulling my hair out. I have a single HTML file with various page transitions - I am trying to solve the coding issue to allow me to have four new blog pages - but that all default to the …

Member Avatar for mmcdonald
0
164
Member Avatar for mmcdonald

I'm about 80% into my first attack on JQuery/AJAX... how would one correctly write this function: function reloadResponses(){ $('#responses').load('pages/community/load-responses.php?id=<?php echo $id;?>'){ window.setTimeout(reloadResponses, 10000); }; }; I would like to reload `<div id="reponses"></div>` every 10 seconds. Is this the best way? I am currently using this to reload the div every …

Member Avatar for mmcdonald
0
216
Member Avatar for MartyWooly

Hello all! I'm new to responsive web design and I realize that it's fairly vital to desigining a good website today, what with today's ever changing screen sizes it's become vital to make sure my pages display well. So my question to everyone is this; Are there any Tools, Web …

Member Avatar for alexloxton
0
2K
Member Avatar for ObSys

I am looking into blogging technology, specifically using XML files to hold blog posts and reading them into a webpage using Javascript. I have been looking at the w3schools website for bits of code but for some reason my application does not display the content on the screen. My code …

Member Avatar for JorgeM
0
502

The End.