15,127 Topics

Member Avatar for
Member Avatar for gann1

Sending SMS through gateway was one of the features in our project. In our first tries, the complete message was succeefully sent.. We used this Code <?php header("location:http://api.clickatell.com/http/sendmsg?user=thisistheusername&password=thisisthepassword&api_id=thisistheapiid&to=". $_POST['mnumber'] ."&text='". $_POST['message'] ."'"); ?> But our panelists required us to put an alert that the message was sent.. and when we …

0
111
Member Avatar for pezzinae

Hi all can you help me I really donĀ“t know why my web app is being deformed when a message is shown I Been trying the update panel but it just does nothing when try to retrieve information from a database in access

Member Avatar for pezzinae
0
147
Member Avatar for rpv_sen

Hi I am trying to update the ON / OFF status through the below code. If i change the OFF status to ON, its getting a value is OFF. can any one please help to fix the issue. **toggle.php** <div id="setQuickVar1"> <input type="checkbox" data-switchery <?php if($SCYQ64EV01=='Y') echo 'checked'; ?> /> …

Member Avatar for rpv_sen
0
9K
Member Avatar for chunguy

hihi, is there a way to rid of the page header (usually it's the page title and url) and the page footer (usually it's the page number and date) without having user to change from the web browser's the page setup ? Can this be done using javascript or just …

Member Avatar for adminsssssss
0
5K
Member Avatar for James_43

Hi all, just a quick question. I believed that `$('#value')` was a jQuery function equivalent to `document.getElementById('value')` however, in the code below, only the second function gives the desired result. Can someone explain why this is? $('#value').value = "1"; document.getElementById("value").value = "1";

Member Avatar for AleMonteiro
0
220
Member Avatar for Iam_1

Hi everyone thanks for your patience as I try to explain what I"m dealing with here. I"ve been following this series of video tutorials on youtube on making a dynamic website. I believe the tutorials were based on linux cause soon as I hit the one on url renames the …

Member Avatar for Iam_1
0
530
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
509
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
274
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
280
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
294
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
273
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
188
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
404
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
388
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
342
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
213
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
313

The End.