15,121 Topics

Member Avatar for
Member Avatar for James_43

Hi all, I'm having some serious issues with AJAX forms. I'm currently using jQuery 2.2.0 and the jQuery Form plugin. I have a simple php file: <?php if(isset($_POST)): print_r(json_encode($_POST)); endif; ?> I have a simple html form: <form method="post" id="regform"> <input id="login_name" name="login_name" type="text" > <input id="login_password" name="login_password" type="text" > …

Member Avatar for James_43
0
233
Member Avatar for Shattered

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 …

Member Avatar for Shattered
0
239
Member Avatar for SpottyBlue

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() { …

Member Avatar for AndrisP
0
359
Member Avatar for James_43

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 …

Member Avatar for James_43
0
508
Member Avatar for Reem50

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** …

Member Avatar for AndrisP
0
273
Member Avatar for jjones0150

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 …

Member Avatar for AleMonteiro
0
279
Member Avatar for PinoyDev

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 () { …

Member Avatar for AleMonteiro
0
436
Member Avatar for Reem50

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 …

Member Avatar for diafol
0
317
Member Avatar for scubbastevie

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 …

Member Avatar for scubbastevie
0
2K
Member Avatar for TObannion

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 …

Member Avatar for TObannion
0
293
Member Avatar for Shattered

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.

Member Avatar for hericles
0
94
Member Avatar for overwraith

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 …

Member Avatar for almostbob
0
271
Member Avatar for Henry_8

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 :)

Member Avatar for diafol
0
63
Member Avatar for Mark_46

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!

Member Avatar for Mark_46
0
187
Member Avatar for Dennis_8

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 …

Member Avatar for Dennis_8
0
402
Member Avatar for scarcella

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 …

0
160
Member Avatar for Thomas_31

<!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 …

Member Avatar for kgweb
0
245
Member Avatar for london-G

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"> <!-- …

Member Avatar for rubberman
-1
299
Member Avatar for abhi10kumar

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); …

Member Avatar for abhi10kumar
0
141
Member Avatar for hrushi9

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, …

Member Avatar for hrushi9
0
381
Member Avatar for icite

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 …

Member Avatar for jkon
0
341
Member Avatar for AntonyRayan

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 , …

Member Avatar for rubberman
0
210
Member Avatar for Aeonix

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 …

Member Avatar for ryantroop
0
293
Member Avatar for Aeonix

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++ …

Member Avatar for Aeonix
0
310
Member Avatar for ms95

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" …

Member Avatar for ms95
0
271
Member Avatar for MissMolly

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 …

Member Avatar for MissMolly
0
318
Member Avatar for Linda_6

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 …

Member Avatar for Linda_6
0
104
Member Avatar for byrd

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 …

Member Avatar for jkon
0
263
Member Avatar for Bensirpent07

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 …

Member Avatar for ryantroop
0
174
Member Avatar for Stevenson66

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.

Member Avatar for allen.welch
0
846

The End.