15,116 Topics

Member Avatar for
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
435
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
291
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
270
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
186
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
401
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
159
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
298
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
348
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
209
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
292
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
270
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
172
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
822
Member Avatar for MissMolly

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

Member Avatar for Luckychap
0
172
Member Avatar for dawbin

I am dynamically adding Child DIVs to a Parent DIV, but appendChild() inserts the new child DIV at the end and I want new insertions to be at the top. I understand inserBefore(), but initially there are no children in the DIV. Is ther an easy way to do this?

Member Avatar for diafol
0
79
Member Avatar for Zack_4
Member Avatar for AntonyRayan

Hi In my table , I have date of birth value like 1991/10/21, I want to display that date of birth like: 21/10/1991(Twentynineth October One thousand Nine Hundred Ninety Nine) date of birth in numbers and in Characters also. How to do that, it has to do dynamically?

Member Avatar for diafol
0
229
Member Avatar for Sonu_8

if user select on first select menu then it display a table if user select second select menu then it display paragraph both are show on same page so any one suggest me some jquery code .

Member Avatar for diafol
1
80
Member Avatar for dhooley

Ok so im looking to create a simple booking system as part of my Final Year Project. I have a locally hosted mySQL database created and linked to using php. I have created a databse called reservations with 3 tablels (Available, reserves and confirms). Basically what I am looking to …

Member Avatar for diafol
0
767

The End.