15,127 Topics
| |
I want to show a specific color based on the value i get from the Json response. i.e. if the temp = any number between 1 and 15 it will show a blue box below and... if the temp = any number between 16 and 25 it will show a … | |
I have a known good web page that works without (known) errors when it loads. However, when I try to load it using a very laggy connection (more than 6-10 seconds to load the page - when all works well, it can load in under 500 ms), my hosting provider … | |
Hello, I'm having some problems with my jQuery script. It works correctly except it doesn't wait for the internal AJAX request to return before adding the variable data 'daa' to the HTML table variable. I debugged it a bit using 'alert' and I think it's adding the 'daa' data to … | |
Hello I am trying to learn the differences from Java and JavaScript so I am trying to take a working simple program in Java and make it work in JavaScript. I keep getting undefined. Here is the JavaScript I am trying: <script type="text/javascript"> function _(x) { return document.getElementById(x); } function … | |
Hi All, I have a application , which onclick of submit takes content in textarea and do some back end stuff and finally opens a .html in a iframe. My problem is, the .html in iframe should change on each submit button in coresponding to the content in the textarea.... … | |
Hi, Say I have a 2 page website each have their own script, how can I make a page get a data form the other page? for example I have an int 1-10, page 1 took int 5; how can i make it so page 2 can't select int 5 … | |
I have a form that has two parameters amenities and attributes. The amenities parameter has a dropdown menu that whose value gets populated from a separate table. The second parameter is attribute whose value will be entered by the user and will get saved in a database. View of database … | |
This: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="$abbr_lang" lang="$abbr_lang"> <head> <title>$linktitle</title> <meta http-equiv="Content-Type" content="text/html; charset=$yymycharset" /> <link rel="stylesheet" href="$yyhtml_root/Templates/Forum/$usestyle.css" type="text/css" /> <script type="text/javascript"> function insertHyperlink() { window.opener.document.getElementById('wysmessage').contentWindow.focus(); var theLinktype = '$linkttext'; var mylink = document.getElementById('url').value; var theLink = theLinktype + mylink; window.opener.document.getElementById('wysmessage').contentWindow.document.execCommand("Unlink", false, null); window.opener.document.getElementById('wysmessage').contentWindow.document.execCommand("CreateLink", false, … | |
Hi Guys I have a Problem With My Asp.net Application Which is runing on asp.net 4.0 with vs 2010 Recently i have added Ajax toolkitscriptmanager, After that my Java Script Alert Messges are not woking ? Other Pages which doesn't have toolkitscriptmanager are ok, are they not compatible ? I … | |
Hello, I am newbie in AngularJS. I had query about fetching data and storing in angularJS's variable. I have table where all employees are stored. Now, what I want is show dropdown of these employees. i.e fetch values from Database and store into variable of module which i can use … | |
Am trying to create search engine exactly like xmarks.com search engine but it is not happening with me can please help me out thanks. | |
Hi All , i have my admin panel where i build a form which store information of model popup like its color , title etc and also fields is require to show in model popup. i means all features of model popup is generated by admin and saved to database … | |
I am just starting a project on google map. i am using below link to get user current location [Click Here](http://www.sitepoint.com/working-with-geolocation-and-google-maps-api/) how can i find other nearby users / places based on current lat , long? any suggestion help me a lot. thanks | |
Hi Please help me on the below issue, how can we can get the `<span id='newText'></span>` value in php. i am not able to get the value in php variable. <html> <head> </head> <body> <script type="text/javascript"> function changeThis(){ var formInput = document.getElementById('theInput').value; document.getElementById('newText').innerHTML = formInput; } </script> You wrote: <span … | |
I have a table whose view is something like this ID NAME LOCATION DELETE 1 sam US delete I have a statement from the table that deletes the given row echo "<td><a href=\"delete_members.php?id=".$row['id']."\">Delete</a></td>"; It redirects to delete_members.php page and the row gets deleted, however i wish to display an alert … | |
HI Please help. how to solve this I am using the below code. insert is working fine. but i am having problem in edit session i edit page i can able to display both values from Database. If i am changing the textbox1 value i am not able to get … | |
Hi, I'm trying to remove a script added by setTimeout(). I tried to use clearTimeout() but seems like it's not working. This is what should happen: Click Btn1 to include the function for btn2. After btn1 is clicked, click Btn2. An alert will be displayed. When btn1 is clicked again, … | |
All, I have an external JavaScript code - which basicially has functionality so that different images are shown when a next or previous button is selected. What I need to do and know is how to pass the value of the image to the querystring as I need to use … | |
Hi how do you hide a jquery multiselect based on a option in the 1st dropdownlist. For example, when I clicked the 1st item in my dropdownlist it will appear the 2nd dropdown else the 2nd dropdown will not appear http://wenzhixin.net.cn/p/multiple-select/docs/ // multi-select pluginj | |
Hi everyone I have a script which contains contains mostly JavaScript. After various bits of user input, it ends up with an array which contains 6 times (hh:mm) and these can be access by times[0] thru times[5]. Obviously these variables would be available on a clients PC. Another PHP programmer … | |
| Hey guys, here I am starting my journey into javascript, when this stupid bug is annoying me. Following is my piece of code: <html> <head> <title> Using 'this' in Javascript.</title> </head> <body> <script type="text/javascript"> var name={ firstName:"Foo", lastName:"Bar", showName:function(){ console.log(this.firstName +" "+this.lastName); } }; name.showName(); alert(name.lastName); </script> </body> </html> Problems: … |
All, I'm trying to obtain the values from an external JavaScript using PHP - In my index.php page I'm trying to obtain the value being passed in as such: `<input type="hidden" name="imgSrcOrig" id="imgSrcOrig" value="<?php echo $_REQUEST['remote_sill']; ?>"/>`` However - in the JavaScript I need to pass into the hidden field … | |
Hello. I'm a newby in web development and I wanted to know if you guys knew any good books our websites to go to to learn Jquery for my new website. I've only used some css and a little bit of javascript but I wanted something better. I don't think … | |
SO I found a javascript I want to use: <script type="text/javascript"> function FindNext () { var str = document.getElementById ("findInput").value; if (str == "") { alert ("Please enter some text to search!"); return; } if (window.find) { // Firefox, Google Chrome, Safari var found = window.find (str); if (!found) { … | |
Hi how do I use jQuery to show a Jquery mutliselect based on a checkbox option, here is my codes //html <input type="checkbox" value= "checkbox1" name="checkbox1"> <select id="dropdown" name="dropdown" multiple="multiple"> <option id="item"></option> </select> //jQuery $("#checkbox").change(function(){ $('#dropdown').multipleSelect(); | |
Why this question arised?? I have used jquery Tabs in my application. On controller I have opened First tab with employee's names. Clicking on employee name opens another tab by just "add" facility of `$j("#teamtab").tabs("add",<data like ID>)` on opening multiple tabs , if I reload the page then it closes … | |
Hi All, i am using angular 1.0.5 and when i am using $logprovider then iam getting error TypeError: $logProvider.debugEnabled is not a function. how to solver this issue? do i need to download any module for this? i googled but didnt find any? | |
Okay so Im gettin an error of Fatal error: Call to a member function fetch_array() on a non-object in C:\wamp\www\Usersearch\search.php on line 54...Im trying a tutorial on AJAX live search...http://ninetofive.me/blog/build-a-live-search-with-ajax-php-and-mysql...I only replaced the database connection to my own database... here's the Usersearch.php <?php /************************************************ The Search PHP File ************************************************/ /************************************************ … | |
hello. I have a page with two tables, .contact-names and .guest-list, and a drop down list. by default the tables are empty but shows message "please select an event" from the drop down list. when an event is selected .contact-names is loaded with names from database and .guest-list remains empty. … | |
hi guys. is there a plugin or jquery ui that i missed that would allow a user to resize width or height of image/element and rotate image/element? resize something other than .resizable() . i found [this](http://www.ajaxblender.com/howto-rotate-image-using-javascript-canvas.html) for rotation it uses canvad tag and DXImageTransform.Microsoft.BasicImage. is there any other? TIA! |
The End.