15,694 Topics

Member Avatar for
Member Avatar for prakash2813

I have working struts1 dispatch action and a form having two submit buttons which have parameter and value which calls method name with value. Well there is no problem. But when clicking on delete button, I want to confirm with bootstrap dialog. $('.btnDelete').on('click', function(e){ var $form=$(this).closest('form'); e.preventDefault(); $('#confirm').modal({ backdrop: 'static', …

Member Avatar for prakash2813
0
452
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
437
Member Avatar for ismael ahm@d

Dear Team - Hello to Everyone!!! pleae note that i m trying jump to test.php page from index.php/html using ajax and mysql, simple if text-input **not found** in table so it should go to test.php else stay on index.php/html page with ajax alerts, but from index page everytime receiving NOT …

Member Avatar for ismael ahm@d
0
356
Member Avatar for jayreis

I have a php page that lists a bunch of data including id's from a database. I then have a button next to each id that will open a Twitter Bootstrap modal window in the page and I need to pass the php variable (the id) to that model window …

0
327
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
318
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 Soumya_1

I have a dynamic table which has 2 dynamic rows .i.e students and their subjects and marks. The code is below : [**Click here to view the code **](https://jsfiddle.net/soumyar/ou6sz83u/) Everything is working fine except, the serial numbers are not generated dynamically! I need to generate a running serial for each …

Member Avatar for almostbob
0
106
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
298
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
95
Member Avatar for Fiorentino01^

Hi I hope somebody can help me. I am trying to download jquery and keep getting an error.I am running win10 with the edge browser. With the old pc running win7 did not have any problem, any idea what to do? Thanks

Member Avatar for gabrielcastillo
0
156
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
408
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
246
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
303
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
142
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
407
Member Avatar for Hazuan Nazri

Hello guys, im trying to learn how to use dynamic data table, which means i want to use data table as my searching result table. but i dint know how to make it because when the search result filled in the table, the sort and other "DataTable" function is not …

0
140
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
343
Member Avatar for Bensirpent07

I have a website that has been using background color animations for a while when all of sudden they just stopped working. I can't think of any major change I've done that would have caused it. So I created a folder to test out my jquery.min.js and jquery.ui.js files. Here …

Member Avatar for Bensirpent07
0
324
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
215
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
317
Member Avatar for Aeonix

https://jsfiddle.net/fg1mfn2m/2/ I don't understand jQuery. Or any programming language for that matter. I'm trying to get to resize a child of a div, as soon as said DIV is clicked. Nothing is triggered. Except my nerves. Previous time I asked for help of jQuery, I got the right code (which …

Member Avatar for jkon
0
373

The End.