15,120 Topics

Member Avatar for
Member Avatar for mehar89

how to increment the input field value in javascript on page load?? for example <input type="text" name="itemquantity[]" value="1"/> after page load it should be like <input type="text" name="itemquantity[]" value="2"/> and so on on next page loads any help???

Member Avatar for gon1387
0
2K
Member Avatar for pucivogel

Can anyone explain me better the conpcept of the webservice. I'm using wamp for a school project, i'm creating an adress-book with JSON and AJAX. The Deitel's one if you have encounteered it before. I have the deitel's code and simply want to implement it in my website. It's requesting …

Member Avatar for gon1387
0
236
Member Avatar for JayJ

I think I'm just having one of those weeks where whatever I try to get this work simply does not work. At one stage I did not think that I was far off solving this problem, but now I feel as if I'm further away from the solution. I'm simply …

Member Avatar for riahc3
0
294
Member Avatar for ckjaseem

Hi , Can anyone tell how I will send the local time zone to the server and so that I can convert the unix time(coming from the database) to the local time and display it on the clients side using php (In short I dont want to use javascript when …

Member Avatar for LastMitch
0
384
Member Avatar for romiaujla

I have the following code on a website, And my issue is that this code given below fades the flash file on all the browsers that I use on a Mac computer, But when I use windows it only fades the flash file on Google Chrome, but does not fade …

Member Avatar for LastMitch
0
191
Member Avatar for welshly_2010

i am having problem filling a selection box with json data. here my php code <script src="jquery.js"></script> <script src="jquery.jCombo.js"></script> <style type="text/css"> </style> <?php $directory = opendir("C:/xampp/htdocs/xml"); $storeFilesIntoArray[] = "please select XML to load"; while (($fileName = readdir($directory)) !== false) { $getLastFourDigitsOfFile = substr($fileName,-4); if($getLastFourDigitsOfFile == ".xml") { #echo "filename is …

Member Avatar for gon1387
0
190
Member Avatar for thomaspoul

i am little bit confuse about ajax, ajax makes vrowsing fast.....waht is the procedure of doing this, is anynody tell me.

Member Avatar for JorgeM
0
92
Member Avatar for riahc3

Hello Lets clear it up a bit: I want to get the width and height of the browser window where I can click. This does not include scrollbars/toolbars. I thought it was with innerheight/width. Strangly, width works (I resize it and onload shoots a alert and it is changed) but …

Member Avatar for riahc3
0
273
Member Avatar for riahc3

Hello Now that I know how to get the width/height, how can I detect if the browser is maximized or not? Crossbrowser of course. Thanks

Member Avatar for AleMonteiro
0
232
Member Avatar for McLaren

Is it posible to preload video for the user but so that he would not be able to see it? I mean I want to preload video - its for a gaming. And then when the time comes to play the video, send some key to decrypt and he could …

Member Avatar for McLaren
0
140
Member Avatar for code_rum

Hi, Below is my ajax code along with html and php code. I am getting an error "title is not defined".. Ajax ------ function callAjax() { $.ajax ({ type: "POST", url: "get.php", data: "title=" + title, success: function(msg) { alert(msg); }, error: function(msg){ alert(msg); }, }); } HTML ------ <form …

Member Avatar for radhakrishna.p
0
392
Member Avatar for ckjaseem

Hi all , I have googled for an answer for this question but most of them are so complicated. Can anyone suggest a simple article on this topic or show me step by step how to solve this. I want to upload an image to a folder and show this …

Member Avatar for LastMitch
0
663
Member Avatar for jasperuser

Hi, Hope there are ExtJS experts here. How do we do remoteGroup, remoteSort, etc.? Is there any examples explaining it in detail? Because documentation just says, "true if the grouping should apply on the server side, false if it is local only. If the grouping is local, it can be …

Member Avatar for LastMitch
0
111
Member Avatar for Buppy

Hi, I have this following code: $('#content-load-target').load(location,function(response, status, xhr) { if (xhr.status != 200) { location.href = '/'; } else { //do something else } }); The response can be either an ajax page or be redirected (if the session has timed out). In case of redirect I want to …

Member Avatar for JorgeM
0
376
Member Avatar for Martin C++

Hello, I am making a calculator for school and so far I have written a code that allows user to combine and input. Calling it a formula would be wrong I think. It's like User pushesh buttons and comes up with an input like this for example : 11+4+9-5. Now …

Member Avatar for gon1387
0
397
Member Avatar for biswa2ray

I am looking for a Date picker (dd/mm/yyyy), which is support in all browser. Is any one provide me the code in JavaScript.

Member Avatar for riahc3
0
142
Member Avatar for riahc3

Hello What is a universal way to make a windows/browser maximized or fullscreen? I understand user intervention is neccesary so it can be a button even though I perfer automatically (even if it is maximized instead of fullscreen) Thank you

Member Avatar for riahc3
0
44
Member Avatar for RT00220489

Hey !! I have created a web application in ASP.net. In the master page, I am using tables to create the required page display. On the left side, i have an image on an arrow followed by text eg. (img.png)Order. When i click on Order, i need the different types …

Member Avatar for arun1123
0
266
Member Avatar for Motifaithed

Hi there, Can somebody help me how to filter two drop down query? I have a database with two column, table Item and table model, for example: T Item T Model Gatsby Wax Gatsby Clay Gatsby Gel Shampoo Hns Shampoo Guard When I select The dropdown list for T Item, …

Member Avatar for arun1123
0
80
Member Avatar for istore221

<body> <a href="#" class="show_hide">Show/hide</a> <div class="slidingDiv"> Fill this space with really interesting content. <a href="#" class="show_hide">hide</a> <P>aasasasas</P> </div> <div id="content"> </div> </body> $(document).ready(function(){ $(".slidingDiv").hide(); $(".show_hide").show(); $('.show_hide').click(function() { $(".slidingDiv").slideToggle(); }); }); .slidingDiv { height:300px; background-color: rgb(34,34,34); padding:20px; margin-top:10px; } .show_hide { display:none; } #content { width:900px; height:400px; background:rgb(85,85,85); } My problam …

Member Avatar for LastMitch
0
106
Member Avatar for ckjaseem

I have got around 10 <div>'s and in every <div> there is a different datetime. I want to call a java-script function when the clients local time matches the time in that <div>'s. //sample scenario <div id="a" class ="help">2/3/2013 6:39:14 PM</div> <div id="b" class ="help">2/3/2013 2:39:14 PM</div> <div id="c" class …

Member Avatar for LastMitch
0
1K
Member Avatar for asif49

I'm not sure exactly where to put this, but here should be ok... I want to carry out some functions when an executable is opened to manipulate certain windows that are on the computer, someone has recommended a macro for this purpose. The type of function to be performed is …

Member Avatar for JorgeM
0
135
Member Avatar for techyworld

I have an array : my Array = new Array ("0","1","2","3"); i want it to generate an index randomnly then it deletes that index so that next time it does not regenerate it. Here my code below, but it does not seems its deleting the index because it generates same …

Member Avatar for LastMitch
0
244
Member Avatar for mrhankey

hi, i am using autcomplete to call my php page which displays results. all is working except when they click off the list it does not hide the search results again. so searching works and so does selecting from the results but if they did not want to select a …

Member Avatar for AleMonteiro
0
169
Member Avatar for SirVault

I've got 4 great ideas for websites that I'd like to make. I've created the layout of each within photoshop, however, I have no real experience with html/css/php/javascript so that I could actually bring it into code. 1. Where's a good place to start learning web design/development (html/css/php/javascript)? 2. Would …

Member Avatar for AleMonteiro
0
237
Member Avatar for eburlea

Hi all. I have got a code that detects the most mobile devices except Samsung Galaxy S3 (there may be other exceptions as well). Please advice how is it possible to detect the device Samsung Galaxy S3. My code is: <script type="text/javascript"> var isMobile = { Android: function() { return …

Member Avatar for eburlea
0
528
Member Avatar for techyworld

Hi can someone guide me how to write these code in oop? <script type="text/javascript"> return answer; var rslt=0; var answer= ""; var a,b,c; var fill = new Array(50); function Random(min,max) {return Math.floor(Math.random() * (max - min + 1)) + min;} function myTwoDArray(){ var string=""; var myArray= new Array (20); var …

Member Avatar for remunance
0
138
Member Avatar for techyworld

I need to generate a pattern contain 3 numbers , 1 '+' or '-' and '=' in any order. for eg: 2 3 + = 5, - 4 3 = 1 ..... How can i do this?

Member Avatar for radhakrishna.p
0
107
Member Avatar for asif49

I'm developing using Apache Cordova and currently testing on Android phone. The problem I'm having is when I click on something (a link, a box) it gets highlighted for a second before it's associated action occurs. Is this something I can disable in css, using cordova, or another method>

Member Avatar for LastMitch
0
91
Member Avatar for asif49

Hi, I'm developing a new website and wanted this to fit all screen resolutions type, so intuitively thought that eliminating the use of 'px' totally and using '%' to define dimensions would be better. Is this the right way to achieve what I'm trying to achieve? The strangest thing I …

Member Avatar for AleMonteiro
0
121

The End.