15,116 Topics

Member Avatar for
Member Avatar for AARTI SHRIVAS

i want to add multiple texboxes on button click and store that value in database can any one help me out how to do this i know some javascrip and jquery neede but don't know how to store the all texbox value to database because for multiple texboxes in database …

Member Avatar for AARTI SHRIVAS
0
3K
Member Avatar for guyinpv

Hi guys, I'm looking for comments and suggestions regarding the use and place of jquery/ajax in site development. I know jquery allows a lot of cool stuff and so does ajax, but when a site becomes heavily based on these tools, the use of PHP dwindles. I am used to …

Member Avatar for guyinpv
1
451
Member Avatar for GraficRegret

here is the code, var images2 = ['images/index_19.jpg', 'images/details_10.jpg', 'images/index_23.jpg']; $(document).ready(function() { setInterval(forwardImage2, 4000); //This function will find the key for the current Image function currentImageKey2() { i = jQuery.inArray($('#slideshow2').attr('src'), images2); return i; } //This function will move the slideshow forward one function forwardImage2() { currentImageKey2(); if (i < images2.length …

Member Avatar for LastMitch
0
180
Member Avatar for numele

I am not the greatest on javascript and was hoping someone could give me some help. I am trying to pass to the parent form action field from the child. The line I have in the child now which is not working is: `window.parent.document.forms['stopForm'].action = "command_stop_15264.cgi";` I've tried a few …

Member Avatar for jalarie
0
188
Member Avatar for DamzWildfire

i want to select items from the result set using the arrow keys as well as the mouse how do i do this the code i added doesnt seem work work and i think its incomplete: $(document).ready(function() { $('.dropdown').hide(); $('.autosuggest').keyup(function (e) { // we also have to check if user …

Member Avatar for DamzWildfire
0
195
Member Avatar for Sanchixx

Hello guys, I have some questions : * how can i play a sound when the contentChat.php is new. * How can i make a loading message? > <script type="text/javascript"> > setInterval(function() { > $('#contentChat').load('contentChat.php'); > }, 1000); > </script> Thank you for your help! Sanchixx

Member Avatar for LastMitch
0
96
Member Avatar for GraficRegret

I am trying to add the ability to add an href to specific pictures in my slideshow, however I am not sure how to create an href in javascript or jquery, I have searched all over, however my web searching skills are weak and I have thus far been unable …

Member Avatar for GraficRegret
0
312
Member Avatar for Vijaysurya

Hai everybody, <div class="whatever styledark myclass"></div> I'm interested in the search-add class. This can be search-cancel, search-remove I want to get this class name when i click on the div, how i do i change this class name to other classes in the div. onclick success remove class seaech-cancel and …

Member Avatar for dcdruck
0
151
Member Avatar for SMode55

Hello, here's my problem. I am building an administration page that displays the users where you can edit or delete them. This page is built using jquery's $.Post ajax function and I am trying to nun jquery inside the page that is called by $.post but it doesn't work at …

Member Avatar for SMode55
0
383
Member Avatar for tokick4

I have a table that is populated by database and each of the rows is a from with a submit button. The idea is there is a drop down selection and upon selecting it then submitting the form updates the database. The problem is that the row form does not …

Member Avatar for tokick4
0
226
Member Avatar for MIGSoft

Hey All. Have a question. I have this situation: in JavaScript I have a parent window that opens a child window using window.open(). Now, through the course of the whole thing, comes a point where the child refereshes the parent window using opener.location.reload(). After the reload happens, I have realized …

Member Avatar for ankurg11
0
3K
Member Avatar for tefflox

Hi, I have taken the following code from youtube. As it is, without the function wrapper, it work in the address bar, tho I would like to modify it and call it to operate in one of my own pages. I need help to figure out how this can be …

Member Avatar for shaveenk
0
658
Member Avatar for pattmorter

Hey everyone So I attempting to recreated one of my game I created in flash to HTML5 with EnchantJS. I originally got my basic images to display but then because I have to have a grid of 6x6 squares, constantly typing everything over and over again gets annoying. So I …

Member Avatar for LastMitch
0
203
Member Avatar for azegurb

Hi all, I have taken a script about **sliding text** from net. It has usage method. but inside it there is function that has four parameters and one of them was used. I dont understand it. Can you help me to understand it? below is script. in this script i …

Member Avatar for azegurb
0
128
Member Avatar for riahc3

I have a listener on canvas for whenever I click on it. At certain moments (like when a checkbox is checked) I want to disable that listener and make clicking on it do nothing. How do I do this? jQuery is allowed.

Member Avatar for riahc3
0
114
Member Avatar for saadi06

Hi, I am using jpgraph library for creating graph of patients and displaying their growth chart. The data is displaying correctly. But I want to add tool tip on each point that which point is pointing to which patient. When the user hovers on the point. The jgraph is creating …

Member Avatar for gon1387
0
216
Member Avatar for code_rum

Here is my code: $(document).ready(function () { $(".submit-text").click(function () { var startdate = $("#startdate").val(); /*This line returns mm/dd/yyyy */ var starttime = $("#starttime").val(); /*This line retruns hr:min AM/PM */ var dtstart = new Date("startdate" + starttime); alert(dtstart); }); }); ****On alert it displays invalid date... but if I use.. var …

Member Avatar for code_rum
2
175
Member Avatar for riahc3

Hello I know the title is horribly explained.... I want to store about Bob his name (string), last name (string), and age (integer). Basically that; Im thinking about a 3 demensional array. Would this be correct? Also I want easy; I dont care if it takes up more memory of …

Member Avatar for diafol
0
462
Member Avatar for pucivogel

can anyone help me with this error? INVALID_STATE_ERR: DOM Exception 11 on this line hr.setRequestHeader("Content-type","application/x-www-form-urlencoded");

Member Avatar for gon1387
0
160
Member Avatar for chr.s

Hello, A website I'm working on requires that the Prototype framework is included, but I'm also using jQuery for some custom behaviours. I'm using the jQuery [maximage](http://www.aaronvanderzwan.com/maximage/1/) slider plugin almost successfully; the only issue is that it seems to conflict with prototype - yes, even with jQuery's noconflict used - …

Member Avatar for chr.s
0
277
Member Avatar for DamzWildfire

hey i want to add this code to a jquery file that i have to display the autosuggestion results.when its in the body of my other page when the result is recieved it pushes the page down when clicked it goes back up i dont want that. any suggestion? <div …

Member Avatar for DamzWildfire
0
449
Member Avatar for pucivogel

I have this part of code <?php $showmonth=$_POST['showmonth']; $showyear=$_POST['showyear']; $showmonth=preg_replace('#[^0-9]#i','',$showmonth); $showyear=preg_replace('#[^0-9]#i','',$showyear); $day_count=cal_days_in_month(CAL_GREGORIAN,$showmonth,$showyear); $pre_days=date('w',mktime(0,0,0,$showmonth,1,$showyear)); $post_days=(6-(date('w',mktime(0,0,0,$showmonth,$day_count,$showyear)))); but i get errors like undefined index showyear,and errors on cal_days_in_month parameter 3 expected to be long, and also mktime parameter 6 expected to be long all due to the undefined index, how do i fix …

Member Avatar for riahc3
0
162
Member Avatar for pucivogel

can anyone show me how to upload a binary file using Ajax (and php of course) I mean the html and js ?

Member Avatar for stbuchok
0
3K
Member Avatar for pucivogel

I'm pretty new to AJAX so this may look like simple questions but..., so i want my file to be stored in a table in a db i have on my localhost, i'm using iframe <iframe id="upload_target" name="upload_target" src="#" style="width:0;height:0;border:0px solid #fff;"></iframe> what source do i provide, what about the …

Member Avatar for LastMitch
0
181
Member Avatar for jonsan32

I have a site for youth basketball, where parents can list their kid to get them onto a team. The listings that get replied to by teams needing players are deleted, but some listing remain on there for months or years. To combat the potential confusion of which grade a …

Member Avatar for EvolutionFallen
0
232
Member Avatar for Farhad.idrees

Hi Friends.. i have one form where combobox is include... i want to use popup form with respect to selected combo box values using jquery function.... i have this code for combo box.. <label id="label">First Schedule </label> <select name="cmbFS" id="cbmFSId" style="width:205px;"> <option value="">---SELECT---</option> <option value="FSchedule" >Second Shedule</option> <option value="Reject">Reject</option> </select> …

Member Avatar for Farhad.idrees
0
213
Member Avatar for mano7859

Hi :) Sorry to be boring but I have a problem to display and hide some div. I'm explaining. I have this html code: <div id="subMain"> <div id="archivesResult_Content"> <div id="archivesResult_title"> <div class="box"> <div class="date"></div> <div class="categorie" cat="14"> <div class="categorie" cat="13"> <div class="categorie" cat="16"> <div class="categorie" cat="17"> </div> <div class="box"> <div …

Member Avatar for mano7859
0
241
Member Avatar for sobias

Hi, A very simple question I'd like to ask, why intializing a var outside a function, it cannot be used in that function? exmaple: <script type="text/javascript" > var myvariable = document.getElementById("someID"); function someMethod(){ //some stuff here, and I cannot use myvariable inside here why? } </script>

Member Avatar for sobias
0
178
Member Avatar for Octet

Hello Daniweb, I'm attempting to build an online service, aimed at mobile devices that have GPS or GPS like capabilities. The service would take a users location, and show them locations nearby of interest along with some information, such as a historic landmark and some facts or a restaurant with …

Member Avatar for Octet
0
946
Member Avatar for DamzWildfire

hey i want to encode my website url as a form of security but i have no idea how to go about doing so and help?

Member Avatar for pritaeas
0
126

The End.