14,053 Topics
|
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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}, … |
|
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 … |
|
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 … |
|
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", … |
|
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 … |
|
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 … |
|
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 … |
|
<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 … |
|
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 … |
|
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? |
|
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 … |
|
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 … |
|
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 … |
|
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> … |
|
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'> … |
|
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 … |
|
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'); |
|
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 … |
|
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"); }); … |
|
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 … |
|
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(); … |
|
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 … |
|
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 |
|
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 … |
|
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 … |
The End.