15,116 Topics

Member Avatar for
Member Avatar for G_Waddell

Hi All, This issue keeps reocccuring and I can not for the life of me figure out why. When I add ANY AJAX control to my ASP.Net project, I end up getting an error that a reference in the designer is not defined. For example, if I add an UpdatePanel, …

0
138
Member Avatar for UK-1991

Hi, I am trying to submit data and saving it to the database queries are inserting properly but the problem is that when I try to insert the data the message column Let suppose i Type in Hello World! In data base it show as undefined whhy is that so …

Member Avatar for UK-1991
0
118
Member Avatar for Vishnu_5

**Plz provide me a complete example of "Passing specific table row data in Bootstrap Modal" i.e on clicking edit link of a specific record, details for that record should be displayed in modal Table data is fetched with PHP from MySQL database. Plz help me out...**

Member Avatar for Tpojka
0
90
Member Avatar for gogs85

How to make popup login and register from index.php to work and to parse data in mysql I have: Index.php, login.php, register.php In index.php I have modal popup and I want to user can login and register from popup. I try with ajax but not working. Here is my code: …

0
101
Member Avatar for AntonyRayan

Focus not working. What is the error in my code Dynamic Textbox Code: select query $i =1; while() { <input type="text" name="class_teacher_entry[]" id="class_teacher_entry<?php echo $i; ?>" class='marks' size="5" maxlength="3" onkeypress="return onlyNumbers(event);" onblur="markValidation(this.value,document.getElementById('marktotal').value,<?php echo $i; ?>);"/> } <Script> function markValidation(a,b,i) { var c = parseInt(a); var d = parseInt(b); if(c>d) { …

Member Avatar for AntonyRayan
0
116
Member Avatar for nosfa

Hi. When trying to pass a parameter to the mehod I get error: not found I've been trying other url syntaxes (@url.action) but to no avail also. script inside input/index view <script> $(document).ready(function () { $("#btnSubmit").click(function () { var presc1 = $('#p1').val(); $.ajax({ type: "POST", dataType: "json", contentType: "application/json; charset=utf-8", …

Member Avatar for nosfa
0
212
Member Avatar for jeffersonalomia

I want to upload file using php ajax then insert all the data such as chapter name, lesson name and id on database. How can i do that? pls help me guys. Thank you :)

Member Avatar for jeffersonalomia
0
342
Member Avatar for nosfa

Hi. In my MVC project I have a button that has to trigger a script. As it happens the page doesn't listen to the event. I put the script in my view where the form is. this works <script > alert("it worked"); </script> this doesn't work <script > $(document).ready(function () …

Member Avatar for nosfa
0
150
Member Avatar for nosfa

Hi all. I cannot pass the values from the textboxes onm a form to the controller. view code <script type="text/javascript"> $(document).ready(function () { $("#btnSubmit").click(function () { var presc1 = $('#p1').val(), aviad1 = $('#a1').val(), $.ajax({ type: "POST", dataType: "json", contentType: "application/json; charset=utf-8", url: "comparar", data: "{'presc1':'" + presc1 + "', 'aviad1':'" …

Member Avatar for nosfa
0
205
Member Avatar for luislupe

Hi, I'm trying to .push several urls to a global variable inside a function of a javascript and casperjs script. The global variable does not seem to be filled with the data. var page_links = ['http://www.olx.pt']; var product_links = []; casper.start(); function spider(url) { casper.open(url).then(function() { var pager = this.evaluate(getMorePages); …

0
183
Member Avatar for new_2_java

Hello everyone, I have 2 JSP files, lets call it 1.jsp and 2.jsp. I have a javascript function in my 1.jsp file, that I am calling 2.jsp, and passing one argument. as follow: 1.jsp function call1Servlet () { var myId = document.getElementById('lblId').textContent; window.open("/myapp/2.jsp?myId="+myId, "", "toolbar=no,menubar=no,resizable=no,scrollbars=yes,width=1024"); } Now, in my 2.jsp …

Member Avatar for FarrisFahad
0
161
Member Avatar for jalpesh_007

Hello all, How can i import my mysql table data to google spreadsheet? Also i want to add data in spreadsheet from particular cell. i have referred following web pages, but i can't get much idea. https://support.google.com/docs/answer/40608?hl=en http://www.ibm.com/developerworks/library/x-googledata2/ please help me. Thanks

Member Avatar for diafol
0
142
Member Avatar for jeya1562
Member Avatar for WebMedia_1

Hi guy for part of my school final project, pls i need a script to restrict user from clicking a web page session and redirect them to login with alert of 5 seconds. Let me explain it very well, there is a school project im working on now that has …

Member Avatar for diafol
-1
442
Member Avatar for Shunya

how to create a program that simulates the process of dealing cards from a 52-card deck by generating 1,000 random integers in the range 1-52 assuming the numbers 1-13 are clubs 14-26 are diamonds, 27-39 are hearts, and 40-52 are spades displaying number of times each suit occurred in the …

Member Avatar for diafol
0
884
Member Avatar for jmann22

I've tried several ways to attempt to disable parallax scrolling when the window is resized below a certain size but have been unsuccessful. I've tried if else statements, self invoking functions and functions that call another function depending on screen size but they are not responsive meaning that I am …

Member Avatar for gentlemedia
0
140
Member Avatar for UK-1991

Hello, I have created many functions and I am trying to show messages ie when user successfully registered invalid username password invalid this and that I tried to do so using the session_start concept please let me know if this is a good approach or should i do another way …

Member Avatar for cereal
0
265
Member Avatar for Tierra

Our teacher wants us to put this in a nested loop but didn't explain how to do it at all, can anyone explain this to me with visuals? Step by step would be great, but I understand if that's way too much. 1 212 32123 4321234 543212345 65432123456

Member Avatar for JamesCherrill
0
202
Member Avatar for nosfa

Hi. I have to do a MVC project and I don't know exactly how to do it. on the clientside I will have an input form the data (at least two codes and up to 8) will be sent to the server (best way?) then the server will access a …

Member Avatar for nosfa
0
333
Member Avatar for Siberian

How would one write a pseudo:after css element as a HTML tag place it specifically in the mark-up then create a css rule all at the start of the loading of the DOM ?

Member Avatar for gentlemedia
0
263
Member Avatar for UK-1991

Hello, Recently I wa trying to develop an audio player of sound cloud as I got inspiration from here http://en.israelstory.org/episode/whats-love-got/ you can click file 1 by 1 and notice on the player hw is it playing I also tried to do the same but it's not orking when I clicked …

Member Avatar for diafol
0
173
Member Avatar for davy_yg

Hello, I would like to create FAQ with a dropdown text if I click the > and it should open a new text sentence right underneath it. Could anyone teach me or advice me where to find a jquery like that? + Far far away, behind the word mountains, far …

Member Avatar for pritaeas
0
589
Member Avatar for ramsiva

<script> $(function() { $( "#city_name" ).autocomplete({ source: 'search.php' }); }); </script> any body help pass parameters to search.php

Member Avatar for Dani
0
152
Member Avatar for furlanut

I am persevering with Javascript slowly, and attempting to modify a code I saw that I thought would work for me - click to change/enlarge image and attach appropriate caption. I have: function showPreview(path){ var theImageElement=document.getElementById("img"); var theCaptionElement=document.getElementById("legend"); theImageElement.src = path; /*if(path == "../WSRUxhtml/photo/LImg/Barfleur.jpg"){ theCaptionElement.innerHTML="Barfleur arriving at Portsmouth"; } else …

0
150
Member Avatar for dawbin

Does anyone have a pure JavaScript sample of an http GET that works in the Microsft Edge browser?

0
93
Member Avatar for UK-1991

Hello I have created a website recently and my client is saying that your website is not secured I have easily created new tables and even a kid can get in to your database and modify your database. is this because I have used this <a id="svgtriangle_f9" xlink:href="mainpage.php?apart=1&floor=9" class="portfolio-link" onmousemove="ShowTooltip(evt, …

Member Avatar for jkon
0
184
Member Avatar for ramsiva

I have two dates var date1="2015-09-18 06:08:50"; var date2="2015-09-18 06:08:51"; I am suffering to get greater one date2. any body help me.

Member Avatar for cereal
0
100
Member Avatar for Aeonix

Doesn't exist. But I would love that it did. 2 days ago, I made search for it, I found this one pearl of a function, you just called it and it would perform just that. Today, I can't find it for heavens. I have been through about 5 fiddle's, about …

Member Avatar for Dani
0
3K
Member Avatar for phoenix254

How can i create a custom protocol with ws scheame ? ex: ws://localhost/echo or ws://localhost:8080/echo with node js ?

Member Avatar for mcglk
0
151
Member Avatar for Violet_82

HI, I've just run into something peculiar. Let me explain the functionality of the site I'm working on first http://antonioborrillo.co.uk/agency_test/home.html . Every time the site gets resized - if you resize the browser window or if you change orientation on the device you 're using - I recalculate the height …

Member Avatar for Violet_82
0
204

The End.