15,120 Topics
| |
So I am working on a messanger, and I am having problems automatically fetching new messages from the database. If anyone can fix me up with a peice of code which can fetch new information from the database after every 2 seconds or so. I am very new to working … | |
Hi, I'm new to javascript that i didn't learn in college. My form can validate the first name, last name, and address line 1, but cannot validate the phone number and e-mail address. Can u help me to fix this? <!DOCTYPE html> <html> <head> <title>Plain form</title> <script> function validateForm() { … | |
Hi all, I have two square <div> containers one under the other. When I click a button, I would like the second <div> to fade on top. Because the top <div> is transparent, the bottom <div> needs to be hidden first. I have given the second div a Z-index of … | |
I am working on integrate some php file with my platform. The platform using HTML for interface and js file for functionality. I try two appraches: First approach: I call filename.php from form tag action and it is working but, it display the result from php file **outside my platform** … | |
I have cretaed a JSP page that has 4 textboxes that need to be validated. 2 are text and 2 are integers. I have tried using the jQuery validation tool but that didn't work out so well. I will provide my JSP code and my script. Can someone help me … | |
How to make below function to return true if success, otherwise false. I have make return on it but the result is **'undefined'** when i call it to other javascript on the same page like `**if(onloadCallback == false)`**. Thank you for helping. <script type="text/javascript"> var onloadCallback = function () { … | |
Hello, I have small problem and can't solve it. I am trying to write javascript function inside html file and call it from click button but it does not work. I try both tags: `<script type="text/javascript">` `<script language="JavaScript">` I include it at the head tag, at first of body, at … | |
Hi Guys, I am a novice at coding, firstly I knowthe functions in my code are deprecated in future versions of PHP, I'm running 5.5. I have a few days to get my current code working with this desired functionality which is a throw away prototype, so for now I'm … | |
I've been trying to debug this for a couple of days...cannot see why it performs the way it does. Help is much appreciated. Forgive me about how lengthy the assignment details are. -Create a function named whileTest(). Inside the function, create a variable named number and assign it a value … | |
I am trying to get my website to load up at the bottom of the page... Maybe this can be done with css, or javascript... I dont know. | |
Hey guys, have you ever had an application where it was necessary to stuff a large base 64 string into a ticket tracking application? It's a javascript variable which is being stuffed. I am seeing some strange stuff in one of my work place's web sites. I was wondering if … | |
Hello, Im just a student learning how to code. I want to know how to compute age using the value from <input type="date"> then send the computed value to a textbox? Thanks for the help :) | |
I need to create a table 3x3, using two loops. Inside each cell, my name has to appear. I am unsure how to do this! Please help! | |
I was trying to use some code I found on here, but I can't get it to work.. Original question: https://www.daniweb.com/programming/web-development/threads/374722/update-database-with-ajax-and-with-different-input-names The code mostly works great for me, so thanks for this code but I have a problem. In the code it gives handlers for text input and textarea input … | |
I have this regex ((?<!tpg-)assets\/[a-z\/\.](([^{]*?)\.(svg|jpg|png|gif|ico))) Which I use to replace asset source patterns in HTML or JS on with my build script.. It works, all but for one combination. The above regex fixed the situation, but wont work with V8 regex. Is there a work around? Take a look at … | |
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Thomas' Story</title> </head> <body style="background-color:lightblue;"> <h1 style="color:Orange; text-align:center;"><B>Thomas'Story Page</B></h1> <h1 style="color:Orange; text-align:center;"><B>Let's Make a Story Together!</B></h1> <h2 style="color:Black; text-align:center;">You fill in the blanks and we'll go from there!</h2> <hr> <h3>Now, just fill in the boxes below and when you're finished click the button for … | |
Hi Guys, I am currently trying to find out what the problem might be [here:](http://5th-floor.co.uk/circle_test/index.html) I basically want the other circle to display the images properly like in the first circle. My code is as below: HTML <head><link rel="stylesheet" type="text/css" href="css/default.css" /><link rel="stylesheet" type="text/css" href="css/component.css" /><script src="js/modernizr.custom.js"></script></head> <div class="container"> <!-- … | |
When I am submitting base64 via jquery and ajax, my string breaking in junks, If I print in the php page. function add_to_report(){ $('#search_loader').fadeIn(); var report_comment = ($('#report_comment').val()) ? $('#report_comment').val() : 'No comments'; var imgData = $('#chart1').jqplotToImageStr({}); // given the div id of your plot, get the img data $('#image_string').val(imgData); … | |
I'm using [imgAreaSelect](http://odyniec.net/projects/imgareaselect/) to select image area. I have following values. Need Help to upload original image to "../original-images/" folder & cropped images to "../uploads/" folder. Upload cropped images with new filename "$newfilename" Plz help Thanks in advance. $x1 $y1 $x2 $y2 $w $h $filename = $_FILES["image"]["name"]; $file_basename = substr($filename, … | |
Greetings earthlings, I am a learning programming. My main languages are php & javascript. I was wondering if javascript(maybe with html5) could be enough to create a wix.com type wysiwyg or not, does it require a total other language like c++ or java , rubi ? or something of the … | |
Hi, I am new to this concept. I have one master database. and 2 or more client databases. In master database, it has all the clients database username and password, Structure of the all client databases are same. Consider My Master Database is alpha, I have 2 client database , … | |
Since I English no good. I picture send you. How do I do? Just kidding. How could I put div through another divs perimeter by 20 pixels, 100 pixels or perfectly within them both? I saw that on a website, but they have ultra-spaghetti code with 50 billion wrappers (no … | |
According to [this](https://github.com/nwjs/nw.js/wiki/Protect-JavaScript-source-code-with-v8-snapshot) link. V8 Snapshot of your JavaScript file, makes it somehow more protected. Notice: This is **V8 Snapshot** not just **V8**. Now I have couple questions, if you're familiar with this technology: 1) Is there a way to obfuscate it more? There are .NET obfuscators, there are C++ … | |
hi guys im trying to login to a webstie just with sending requests to the server . the website has a login form which is this : <form id="Form1" onsubmit="return Form1_onsubmit()" style="direction: rtl; text-align: right" action="./17717417412" method="post" name="Form1"> <input id="__VIEWSTATE" type="hidden" value="/wEPDwUKMTQ4MDM5MTkwMg9kFgICAQ9kFggCAQ9kFgYCBQ8WAh4JaW5uZXJodG1sZWQCBw8WAh8ABTvYp9iq2LXYp9mEINin2LIg2LfYsdmK2YI62LTYqNqp2Ycg2K/Yp9iu2YTZii3Yp9mK2YbYqtix2YbYqmQCCw8WAh8ABRk8Yj7bsduz27nbtC/bsduxL9ux27Q8L2I+ZAIFDxYCHgdWaXNpYmxlaGQCBw8WAh8BZxYCAgEPFgIfAAXXCdmC2KfYqNmEINiq2YjYrNmHINiv2KfZhti02KzZiNmK2KfZhiDZiNix2YjYr9mKINis2K/ZitivOjxici8+DQoxLdio2Ycg2YXZhti42YjYsSDYp9iz2KrZgdin2K/ZhyDYqNmH2YrZhtmHINin2LIg2LPYp9mF2KfZhtmHINii2YXZiNiy2LTZitiM2b7amNmI2YfYtNmKINmIINiv2KfZhti02KzZiNmK2Yog2K/Yp9mG2LTar9in2Ycg2LTZiti...jYp9mH2K8g2LTYry48YnIvPg0KNC3Yp9ix2KfYptmHINix2YrYstmG2YXYsdin2Kog2YXZgti32Lkg2YrYpyDZhdmC2KfYt9i5INmC2KjZhCDYr9ixINiy2YXYp9mGINir2KjYqiDZhtin2YUg2K3YttmI2LHZiiDYp9mE2LLYp9mF2Yog2YXZiiDYqNin2LTYrzxici8+DQo1Ldiu2YjYp9mH2LTZhdmG2K8g2KfYs9iqINin2LIg2YXYsdin2KzYudmHINit2LbZiNix2Yog2Ygg2KrZhNmB2YbZiiDYqNmHINmI2KfYrdivINmH2KfZiiDZhdiu2KrZhNmBINiv2KfZhti02q/Yp9mHINiv2LEg2K7YtdmI2LUg2YXZiNin2LHYryDYqNin2YTYpyDYrtmI2K/Yr9in2LHZiiDZgdix2YXYp9mK2YrYry4NCmQCCQ8WAh8ABQEgZGRDY9B9c/B5YHJtWvxroJcmLKB7mcNVjEPC771IlbjsIQ==" name="__VIEWSTATE"> <input id="__VIEWSTATEGENERATOR" type="hidden" value="C792DAE2" name="__VIEWSTATEGENERATOR"> <input id="__EVENTVALIDATION" … | |
Hey, is there any way to get this: `$(document).on('keyup', "*[data-field='quantity'],*[data-field='price']", function(e){` to run whenever there's a change the whole table? At the moment it only changes on the keyup in the [data-field='quantity'] and [data-field='price']. But thing is I have a button to delete a row, and once ones deleted it … | |
Hello everyobody, I'm trying to do a presentation of MD5 algorithm in my class. I would like to give an example of md5 hash in every programming language. I found a useful website like http://md5-sha.com/ a with examples in all other languages, but i still want to present Java too … | |
I am trying to call a method in a javascript class when a button is clicked. My test program is below. I've tried a number of things based on what I've found on the internet, but I can't get it to work. I would appreciate any help you can give … | |
The website weblup(dot)net/templates/template3 looks 100% correct on the computer thusfar. The overflow is hidden and you can't see the mobile menu bar or the pictures that slide in. But when opened on the phone you can scroll over, and see where the mobile menu is and where the next photo … | |
I need to open this pptx-file. Can anyone help me with that? http://www.filedropper.com/testfileq9 Made in Microsoft PowerPoint 2010 and cannot been seen or open with any applications... If it can't be open, how can I fix the file. | |
[http://jsfiddle.net/re2af/193/](http://jsfiddle.net/re2af/193/) Does anyonw know how I can add some pre-filled data to this table? I've commented what I'm trying to do but bascially: Click add item button > creates new row with prefilled data (eg test - test - 1 - 1 - £1) > adds the whole thing to … |
The End.