15,700 Topics

Member Avatar for
Member Avatar for mano7859

Hi :) I don' know how to hide some div with special class. This is my html code: <div id="subMain"> <div id="archivesResult_Content"> <div id="box"> <div id="categorie" cat="2"> ... </div> </div> <div id="box"> <div id="categorie" cat="14"> ... </div> <div id="categorie" cat="5"> ... </div> <div id="categorie" cat="14"> ... </div> </div> <div id="box"> …

Member Avatar for AleMonteiro
0
287
Member Avatar for vinaysrk

`Inline Code Example Here`i have a page defalt.aspx <body> <div id="content"></div> </body> and i have genereated dynamic div through jquery reference to id "content" like #(document).ready(function(){ var a=$("#content"); $(a).append("<div class="scrollbar"><%--some content here-----%></div>") }); this above jquery work fine and seen in inside the "content" when i run the default.aspx but …

Member Avatar for menakshi
0
97
Member Avatar for pucivogel

I have this part of code, ajax will call a function saveContact with parameters name, phone, email, address, is this code ok? $.ajax({ url: 'addressbook.php', data: 'action=saveContact()','&name='+name+'&phone='+phone+'&email='+email+'&adresa='+adresa; dataType: 'json', type: 'post'

Member Avatar for AleMonteiro
0
2K
Member Avatar for kitschkath

Hi there~ I am kinda coding a verrry simple information system which uses Javascript. I am not familiar with JS and I only know the basics, but maybe what I'll ask is a veeery simple one but oh well, should I be asking if I found a solution after searching …

Member Avatar for urtrivedi
0
226
Member Avatar for yaragalla_mural

i have to display a combo box with some dynamic values that comes from the database when user checked a checkbox on the currently being viewed html page. I am getting dynamic values from the webserver as json or xml. Now i have take the values from the json or …

Member Avatar for riahc3
0
115
Member Avatar for Violet_82

hi chaps, I am having some trouble decoding this regex in a javascript (wasn't entirely sure whether javascript was the right place to post this since it has more to do with regex). I am very new to it - this is the first time I look into that - …

Member Avatar for Violet_82
0
210
Member Avatar for Kavya_1

how could i run a javascript means with what extension i have to save it

Member Avatar for James_Smith
0
125
Member Avatar for scaiferw

I have a lab management webapp that lists servers on my network. With a click in IE I can open a terminal services session to that server. The code - shown below - works in IE, but not in chrome or firefox. Can anyone suggest how I can make this …

Member Avatar for LastMitch
0
290
Member Avatar for methuselah90

I am trying to display results from the process page on the host page. At the moment I keep getting the **Uncaught ReferenceError: data is not defined** error message. How do I go about fixing this? **form.php** $(document).ready(function () { // variable to hold request var request; // bind to …

Member Avatar for LastMitch
0
4K
Member Avatar for Travus

I am trying to submit a form using JavaScript however when I click my button the text in the form disapers but nothing is sent or posted to my php script. <?php require_once("../content/includes/validation.php"); ?> <!DOCTYPE html> <html lang="en"> <head> <title>Contact | Buffalo Bridal Association</title> <meta charset="utf-8" /> <meta name="description" content="" …

Member Avatar for Travus
0
2K
Member Avatar for mehar89

It show error in the dreamweaver $('#left_bar .cart-info').append('<div>'+localStorage["myid"] = document.getElementById("myid").value =parseInt(localStorage["myid"] || "0", 10) + 1;+'<input id="myid" type="text" name="itemquantity[]" value="1"/></div>');

Member Avatar for stbuchok
0
136
Member Avatar for riahc3

Hello Im trying to modify something when clicking on a input text field. The id of that field is cart[1223686][qty]. Tried your standard: $j("#cart[1223686][qty]").click(function() { alert("Handler for .click() called."); }); But nothing. What is wrong? (Yes, $j is correct)

Member Avatar for riahc3
0
144
Member Avatar for Venter

Hi i'm trying to save the data in local storage.But it Works Correctly As My code.But i want to save the data in different Manner. Here is my code Snippet Walk Through It And MAke Corrections.... <!DOCTYPE html> <html> <head> <script> //function for \to check whether the input value is …

Member Avatar for gon1387
0
118
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
238
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
300
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
387
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
194
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
198
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
98
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
278
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
234
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
143
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
406
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
665
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
113
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
406
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
402
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
146
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
47
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
271
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
82
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
107
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
138
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
250
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
171
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
239
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
531
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
141
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
109
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
93
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
124
Member Avatar for praveen_dusari

Hi All, i was just wondering that can i store the data of a form using html,javascript. firstly i thought of using localstorage or session storage in html but if i save the data in my form others cant see the data if they open that page, and if i …

Member Avatar for gon1387
0
171
Member Avatar for asif49

I don't know how to quite word this question but I was wondering how to make some jquery interact with programs outside the browser. For instance, if something is clicked on the website of a particular company, and a software from that company is installed I'd like to be able …

Member Avatar for gon1387
0
102
Member Avatar for PriteshP23

I would like to solved out the SESSION part in ALL files. SESSION is not working properely anymore. In addition, i need to solved out the javascript errors. Objective is to access the *dashboard.php and other pages* from LOGIN.php and CREATEACCOUNT.php **WITH validation and SESSION**. There are two files: login.php …

Member Avatar for PriteshP23
0
2K
Member Avatar for karang

Hi I have a textbox and a button on a html page. On click of button I want to save the value in the textbox to a particular cell of the excel file I have written the following code [code] var ExcelSheet = new ActiveXObject("Excel.Application"); ExcelSheet.Workbooks.Open("D:\\TEST.XLS"); // Make Excel visible …

Member Avatar for imti321
0
1K
Member Avatar for techyworld

Hi how can i randomnize the index of this array? var arr = new Array("0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20"); i want to return the index of the array randomnly. Any help?

Member Avatar for techyworld
0
166
Member Avatar for cgull

Hello, I have downloaded the plugin maskedinput from: [Click Here](https://github.com/digitalBush/jquery.maskedinput) Trying to use it on a site I am developing with codeigniter and foundation framework, the index.html file that comes with it works well on my site, I get this error: TypeError: $(...).mask is not a function The jquery files …

Member Avatar for cgull
0
866
Member Avatar for techyworld

Hi i create a table and fill it randomnly with operand and operators. Now i want to retrieve every 3 element in each row. For example, have a look at the image i have uploaded, I want to retrieve : + 4 + 4 + 10 + 10 + 10 …

Member Avatar for gon1387
0
158

The End.