14,053 Topics

Member Avatar for
Member Avatar for Maideen

Hi Sir I have a problem in passing value from Popop to main page I am using Master page and aspx page From main page, i can open popup windows and populate data in gridview. I am selecting date and capture the valeu in TextBox. When I click the button …

0
218
Member Avatar for slowlearner2010

Hi, I tried to change the form action based on selection option and hoping that my javascript validation function working properly too... I found out one solution and hoping this javascript can do that kind of thing. I tried so many ways and I think there's something wrong with my …

Member Avatar for hericles
0
483
Member Avatar for hrushi9

I have form having input type file to upload image & other input fields. How to submit form using websocket ? $("#form").submit(function() { "use strict"; var formURL = $(this).attr("action"); var postData = new FormData(this); //alert(postData); $.ajax({ type: 'POST', url: formURL, data: postData, processData: false, contentType: false, success: function() { $('.content').prepend("<div …

0
181
Member Avatar for FarrisFahad

I have this event handler for when the page is loading. It shows a preloader GIF image when the window start loading. $(window).load(function(){ $("#Preloader").css('display','block'); }); But I don't know how to detect if the window stops loading so I can remove the preloader. How to detect if the window stops …

Member Avatar for gentlemedia
0
218
Member Avatar for shashigowda

Hi, i need urgent help.. iam working on leave management system(LMS).if the employee apply for the leaves means,one message go to HR inbox (internal application inbox). iam designing inbox for this..it has two parts(2 coloums).in the first coloumn iam displaying messages with employe name,id nd subject(just like preview of the …

Member Avatar for shashigowda
0
246
Member Avatar for FarrisFahad

I am trying to build a scrolling system for my website. This is what I have com up with ... $.ajaxSetup({ cache: false }); $(window).scroll(function(){ if($(window).scrollTop() == $(document).height() - $(window).height()){ picturesCount = $(".Picture-1A").length; allPicturesCount = $("#allPicturesCount").text(); alert('picturesloaded:' + picturesCount + ' PicturesDB: ' + allPicturesCount) if(picturesCount < allPicturesCount){ $.post('ajax/load-latest-pictures.php', {pictures_loaded:picturesCount}, …

Member Avatar for FarrisFahad
0
1K
Member Avatar for AleMonteiro

Hey fellas, some time ago I started trying out Brackets, and guess what? Loved it! If you don't know, it's an open soude editor made out of html, css and javascript, powered by node JS and chromium and sponsored by Adobe. A lot of open sources projects coming together to …

Member Avatar for AleMonteiro
2
430
Member Avatar for Praveen_15

Hi everyone i need help in getting value from 3 depenedable dropdown menu and after selecting option from 3 dropdown menu the data showed be shown in textbox eg. First value **package1** Second Value **car1** Third value **Type** and textbox value **Rate1** **Rate2** **Rate3** Please help me in this Thanks …

Member Avatar for Praveen_15
0
421
Member Avatar for shashigowda

Hi, how to pass variable value inside js. i want to add **Days** value to **From** date and dispaly it as **To** date here is my code,please go through it,i have explained in comments HTML days:<input type="text" id="capped_days">//manual i/p From:<input id="dt1" type="text">//date picker1 To:<input id="dt2" type="text">//datepicker2 javaScript $("#dt1").datepicker({ dateFormat: "dd-M-yy", …

Member Avatar for AleMonteiro
0
324
Member Avatar for dawbin

I need to dynamically create two DIVs and an item to drag/drop between the two. If I code static HTML this works fine but dynamically I am missing something. Has someone been able to define drag events dynamically and have them work? <html> <head> <script> function main() { //SOURCE var …

Member Avatar for AleMonteiro
0
324
Member Avatar for jonow

Hi I have an iframe on my website and it will load new content inside of the iframe when a user clicks on a link. You never navigate away from the page. Is there a way to display the source of the iframe or the html file that is being …

Member Avatar for Kevon
0
2K
Member Avatar for baig772

I have a div with `width: 200px` and I am adding text in it dynamically, I want the text to fit in this div but the text is getting out. I have tried to change the font size on character count but it does not work in all cases, like …

Member Avatar for AleMonteiro
0
375
Member Avatar for Martin_11

<div id='ad' style='position:absolute; left : 174px; top : 14px; width : 597px; height : 740px;'> <div style="opacity: 1.0;"> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- 500-400 --> <ins class="adsbygoogle" style="display:inline-block;width:500px;height:300px" data-ad-client="ca-pub-********" data-ad-slot="*****"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div> </div> <script type='text/javascript'><!-- window.onscroll = function () { //hope this works, havent tested …

Member Avatar for rproffitt
0
313
Member Avatar for Amr.Mohammad87

Greetings, I am a newbie in web development and I am working on a website backend using ***ASP.NET***, ***Bootstrap***, and ***jQuery*** and I need to upload files, simply photos, that will be used to be displayed on the frontend banners. I already used the HTML5 file API to read the …

Member Avatar for AleMonteiro
0
365
Member Avatar for hastings.george.5

In my javascript code, I want to clear the text fields after done with the operations using onclick command. Question: Is there a predefined fuction to serve this purpose?

Member Avatar for hastings.george.5
0
173
Member Avatar for janicemurby

hi im not sure if come into the right section but im looking at adding a chatroom to my site for my users to use and im wanting it where they dont have to log in or register to chatroom instead they login on site and the username is same …

Member Avatar for mblan180131
0
203
Member Avatar for Carsten_1

I'm currently working on a website; crafterguide.azurewebsites.net; and I was woundering how to get the best possible login/register/logout page, how get it where when someone creates/log's in to a(n) account that it redirects them to a profile page, and just some feed back and critisizum. And lastly how to get …

Member Avatar for rproffitt
-1
298
Member Avatar for mblan180131

hello, fellow computer geeks. I seem to be having a problem with this javascript code. It's for a new game that I am making in cloud9.io's developer. when I run it, it executes everything up to the document.write("<img src='loading.gif' id='load' />"); and ignores everything else. I can't seem to get …

Member Avatar for mblan180131
0
220
Member Avatar for du_ebrithil

how would I add text that the viewer could see and not just to the console as well as it not getting rid of the other text on the page? <!DOCTYPE html> <html> <head> <title>help me</title> </head> <body> <p>this is a line of text</p> <p>this is another line of text</p> …

Member Avatar for mblan180131
0
295
Member Avatar for AntonyRayan

HI to everyone, I am fully confused. I have a selectbox with dynamic values. No body what value will come in that select box, based on that value , I want to do hide and show. How to do that? Here I included my dynamic select box, <select name='category' id='category'> …

Member Avatar for mblan180131
0
328
Member Avatar for TObannion

So I'm trying to make a script that prompts for two strings, then searches the second string to see if it contains the first using a function triggered by a button. Something is off with my comparison. Let me know what I am doing wrong. <!doctype html> <html> <head> <meta …

Member Avatar for mblan180131
0
181
Member Avatar for AntonyRayan

Hi, I need a help from you. I tried but I can not. Can anyone tell me how to increase the font size in mPDF, Here is the code, where I tried, require('mpdf/mpdf.php'); $mpdf=new mPDF('C','legal','10');

Member Avatar for Bachu
0
4K
Member Avatar for RikTelner

Consider following back-end script. <?php if (isset($_GET["req"])) { $req = $_GET["req"]; if ($req == "delete") { // Very intense calculation which finally results in deletion. } if ($req == "add") { // Very intense calculation which finally results in addition. } if ($req == "modification") { // Very intense calculation …

Member Avatar for jkon
0
229
Member Avatar for James_43

Hi all, Something disturbing is happening... I make an AJAX call to a page and it returns unprocessed PHP, not HTML. However, when I navigate to the page manually, the PHP is processing as expected. This must be a huge security vulnerability? My AJAX call is: $('#forgot').click(function(e){ e.preventDefault(); lFormContainer.load("ajax/?page=authenticate/username"); }); …

Member Avatar for James_43
0
666
Member Avatar for priyanka85

I have this function call which I need to convert to POST request because this is getting popped up in query parameter in SSL security threat. Could you please help ? Thanks LoadYearMakeModelUsingAutoVin(controlId, 'RequestXml.aspx?name=GetVehicleInfoUsingVinCanada&VinOrSerialNumber=' + vinOrserialnumber); ------------------------------------ function LoadYearMakeModelUsingAutoVin(controlItem, dataSourceUrl) { var xmlDoc; var xmlDoc2; if (window.ActiveXObject) { var xmlHttp …

Member Avatar for AleMonteiro
0
347
Member Avatar for jason.okoka

i want when a category is selected, the user only gets the product of that paticular category. here is my code ajax_listbox.php <html> <head> <title>Demo of List box selection and displaying matching records</title> <script type="text/javascript"> function ajaxFunction() { //document.writeln(val) var httpxml; try { // Firefox, Opera 8.0+, Safari httpxml=new XMLHttpRequest(); …

Member Avatar for rch1231
0
208
Member Avatar for Faile

I'm trying to figure out how to make the following code work: <ul> <li id='anvil1' class='locked' onclick='anvil1.countCheck("anvil1", "defense", 10, event.button);'>+10 Defensive Ability</li> <li id='anvil4' class='locked' onclick='anvil4.countCheck("anvil4", "[\"defense\", \"constitution\"]", [10, 20], event.button);'>+15 Defensive Ability <br />+20 Constitution</li> </ul> These links are accessing methods from the the star object. I need the …

Member Avatar for diafol
0
3K
Member Avatar for Shreyas_2

i want to count the checkboxes i putted in my project when they get selected and they cant available again when they get stored in mysql plz rply me on shreyasmnt@gmail.com

Member Avatar for 2teez
0
120
Member Avatar for shandoo1997

Hi. I have a python script that i run on my raspberry pi that would connect to a usb sensor and get a value each 0.5 seconds and output the results. I wanted to make a web app to view the data in realtime instead of using terminal so i …

Member Avatar for diafol
0
131
Member Avatar for Adam_24

Hi there, I'm trying to create an instant price calculator in Javascript . Similar to https://mixam.co.uk/brochures but hopefully less complicated. I have 4 fields; 'Paper Size' 'Pages' 'Numbering' 'Quantity' I've managed to work out the code below following guides on other helpful websites. Currently it shows the correct price once …

Member Avatar for Adam_24
0
453

The End.