15,700 Topics

Member Avatar for
Member Avatar for begueradj

Howdy, I found that the symbol "<" can be encoded this way: "[\xC0][\xBC]" Can you tell me in which encoding standard does "[\xC0][\xBC]" belong ? Regards from Begueradj

Member Avatar for ckide
0
107
Member Avatar for mattyd

Hello. I have been doing research for about a week on form validation (JS, jQuery, CSS). I already have a nice form, but I need to add the validation elements. I'm a bit stuck. I know what I do and **do not** want with the validation: **Want**: * Clean, nice …

Member Avatar for iamthwee
0
292
Member Avatar for komal_1

I want to load a completely new html page in a html via javascript <html> <head> <script> function load_home(){ document.getElementsByTagName("body")[0].innerHTML='<object type="text/html" data="test1.htm" ></object>'; } </script> </head> <body onClick="load_home();"> </body> </html>

Member Avatar for JorgeM
0
218
Member Avatar for mac.barbiec
Member Avatar for suavedesign

I am trying to open a page as a lighbox- and I dont know why its not working- the url is https://www.townehomecare.com/services- where it says "read more" in the middle of the page, I want that new page to open as a lightbox, but instead it opens a regular page. …

0
82
Member Avatar for mwnt2014

JavaScript for mobile browser detect img changed according to mobile browser wheather iphone or android ..different images for both....

Member Avatar for diafol
0
109
Member Avatar for jj.dcruz

I have a problem using many dropdown/select in which i needed to filter everytime i change the dropdown I dont know how to do this. for example: 1st dropdown is location *which I selected* **pasig** it should filter -> 2nd is bedroom which **pasig** has **3** data *1,2,4* it should …

Member Avatar for pritaeas
0
189
Member Avatar for Siberian

Can you write within the script the new order of an array as a comment without the script actually using it ? Suppose I have an array of 10 items, then I push and unshift more items in the array, for myself or anyone else viewing the code I want …

Member Avatar for diafol
0
189
Member Avatar for sandorlev

Hey guys, I have a (probably) pretty simple task to solve, but no knowledge of web development whatsoever. My problem is, I need to create a website that computers and smartphones can connect to and have it display some image and text that are updatable from the server side at …

Member Avatar for JorgeM
0
182
Member Avatar for keyroche

Hello. I am using an iframe in my page to submit a form to so that it can upload a file - since you can't do this through the jquery ajax function. I have everything working, but I want to be able to hide the iframe and get the content …

Member Avatar for kiranmaijalem
0
2K
Member Avatar for hanan-kh

I'm currently working on programming a news site and I do not have sufficient experience in the jquery I want a news slider show like that on [this site](http://www.samanews.com/ar/) and thank you

Member Avatar for Alhussaini.Eng
0
88
Member Avatar for faysal.ishtiaq_1

Here is some javascript code ===> (function() { var infowindow; window.onload = function() { var options = { zoom: 3, center: new google.maps.LatLng(37.09, -95.71), mapTypeId: google.maps.MapTypeId.ROADMAP }; var i = 0; var marker; var btn = document.getElementById('btn'); var map = new google.maps.Map(document.getElementById('map'), options); var bounds = new google.maps.LatLngBounds(); var places …

0
109
Member Avatar for Rahman_1

Hello Webmaster, i have some problem before upload images.... this my code <style> .thumb { height: 75px; border: 1px solid #000; margin: 10px 5px 0 0; } </style> <input type="file" id="files" name="files[]" multiple /> <output id="list"></output> <script> function handleFileSelect(evt) { var files = evt.target.files; // FileList object // Loop through …

Member Avatar for Rahman_1
0
224
Member Avatar for network18

Hi All, I have a ajax call in script like below - function testMe() { $.ajax({ type: "POST", url: "http://3.84.46.104/tloken/test/testAjax.php", // data: "ajax=1&elem=" + elem+"&clicker="+clicker, data: "ajax=1", method: "POST", success: function (html) { alert(html+' >>'); return false; // var response = html.split('@'); // document.getElementById(elem).innerHTML = ""; document.getElementById('cmbxCategory').innerHTML = ""; document.getElementById('cmbxType').innerHTML …

Member Avatar for network18
0
2K
Member Avatar for SushilKumar
Member Avatar for einbump
0
6K
Member Avatar for SimonIoa

Can anyone tell what would be the correct syntax for **data** var ev = $("#update").val(); var up=$("#upload").val(); $.ajax( { data: ______,

Member Avatar for SimonIoa
0
147
Member Avatar for ethan.david.376

"Checkbox1 Checkbox2A Checkbox2B Checkbox2AA --- hidden at first Checkbox2AB --- hidden at first" How will I implement this using javascript/jquery? When Checkbox1 is checked, Checkbox2A and Checkbox2B will also be checked. When Checkbox2A is checked, Checkbox2AA and Checkbox 2AB will be visible.

Member Avatar for gon1387
0
222
Member Avatar for zenlau

Hi All, I have 2 frames in one page which is left frame and right frame. May i know how to set the link to the jstree node which is located at left frame. When click on the node, it will reload the page at right frame without reload the …

0
146
Member Avatar for matt.haselip

hi please help me. i have a google map on my website, but i cant get it to zoom out to show the circle radius, and it seems to be zooming only to view the markers. how can i zoom out to show the radius of the map? see below …

Member Avatar for matt.haselip
0
515
Member Avatar for patk570

Hey guys, I have a script that switches between tabs..It works perfectly, but what i am needing is a way for the script to stop when I have my mouse on the tab or content for the tab. I am using bootstrap and here is my [fiddle](http://jsfiddle.net/patk570/5hk6R/) with the working …

Member Avatar for Troy III
0
4K
Member Avatar for baloch123

Hi I have dropdown list of domain names.Which is populated by mysql query(1st query). And when dropdown value is selected that value is used in another mysql query(2nd query). I've a submit button,when it is clicked.It is working perfectly. But i want to remove submit button and i need a …

Member Avatar for diafol
0
18K
Member Avatar for MaddTechwf

I've written a small asp function that query's my database and returns data. I've tested the function and it does return the data correctly. I'm trying to figure out how I can then take that data and store it into my javascript array. I have this below but I can't …

Member Avatar for vsmash
0
3K
Member Avatar for wonderland

Hello, I've been searching around internet for quite a few hours, but couldn't find a solution that would work for me. Site has 2 domains. I would like to do a logo image swap, based on domain that the site is accessed from. domain1 = image1 domain2 = image2 I …

Member Avatar for owen101
0
2K
Member Avatar for dave_irishman

I have a table residing on a MySql data base called Bookings. The Bookings table consists of a composite primary key based upon the following 2 fields: BookingDate & Booking Slot. On my website, I have built a bookings page which will consist of a a simple HTML Form, which …

Member Avatar for dave_irishman
0
1K
Member Avatar for paramesh23
Member Avatar for neha05

Hello all, I need a multiple photo frames, on click the selected frame set on the image or image is set on it.Any jquery or javascript plugin is available for it ?

0
188
Member Avatar for iamthwee
Member Avatar for kavitha N

Hi All, I have experience in HTML5, CSS3 and javascript etc.. exposure in JQuery. Now i want to create a new application for Online Leave Application. Any one could you please suggest me what will be the best. And if i want to use JQuery which way use good like …

Member Avatar for iamthwee
0
142
Member Avatar for waqas_2

Hi I was searching it for many weeks I am working on Magento Store, i have 2 domains i want to show different logo on each domain. In header file, logo is shown by this code <?php if ($this->getIsHomePage()):?> <h1 class="logo"><strong><?php echo $this->getLogoAlt() ?></strong><a href="<?php echo $this->getUrl('') ?>" title="<?php echo …

Member Avatar for Troy III
0
244
Member Avatar for Sagarika_1

I have a Carousel which uses the setInterval() to toggle between the tabs every 4 seconds. I now want to stop this auto-toggle on click of any particular tab. The clearInterval() is getting called only after a cycle, and not immdetiately when a tab is selected. Please point me to …

Member Avatar for diafol
0
800
Member Avatar for renierdbruyn

I have a function that does certain checks, if the the checks fail, it will add values to a dict, i.e: outstanding = {} sims = [_sim for _sim in self.context.sims if unicode(_sim.iccid)] # for sim in [_sim for _sim in self.context.sims if unicode(_sim.iccid)]: print sims count = len(sims) if …

0
134
Member Avatar for iamthwee

$("#login_form").submit(function(**event**) I need to pass the word 'event' to the jquery function only for firefox for it to work? WTF? All my functions need changing then?

Member Avatar for Troy III
-1
396
Member Avatar for jelly46

I'm a bit new to DOM [please bare with me] and what I want remove some html as I don't actually have access to the HTML file. This is because it is a CMS so would it be possible to manipulate code via DOM? Here is a code sample I …

Member Avatar for Troy III
0
175
Member Avatar for 9tontruck

Hi, I am working on displaying my JSON string beautifully using jQuery. Here is my code: $(document).ready(function() { var jsonp = '[{"filename":"4x6_flower.png","count":1,"zones":[{"x":"198","y":"133","width":"1283","height":"820"}]}]'; var obj = jQuery.parseJSON(jsonp); document.body.innerHTML = ""; document.body.appendChild(document.createTextNode(JSON.stringify(obj, null, "\t"))); }); But output is displayed in a single line like this: [ { "filename": "4x6_flower.png", "count": 1, "zones": …

Member Avatar for diafol
0
222
Member Avatar for DaveyMoyes

Hi everyone, thanks for reading and replying to this dummy question. I have a script that open a javascript alert box - what I would like to do is after clicking the "OK" button is to direct the user to a new page. the alert is working, just when I …

Member Avatar for anitha407
0
6K
Member Avatar for hanan-kh

hi evrey on ineed your help in php &jquery im working in news site in news blok the image should be chang when a mouse move to defrent news title this is the templat <section class="box-nwes-con"> <a href="#"> <img src="images/sport-img.jpg" title="{title}" alt="{title}" /> </a> <div class="news-box-con"> <div class="title-news-block"><a href="#">{title}</a></div> <!-- …

Member Avatar for Bachu
0
304
Member Avatar for Alistair_1

i am using the below script as my basis for my ajax requests However whenever i run them i keep getting the error Uncaught SyntaxError: Unexpected token hr.onreadystatechange and Uncaught TypeError: Object [object Location] has no method 'load' hr.onreadystatechange Here is the code $('#ind_login_submit').on('click', function (e) { var vars = …

0
142
Member Avatar for Ricky_2

I'm try to make javascript onclick function in php file.the result is make an alert window in my page. but nothing happen.please help me. this is my code: <script type="text/javascript" charset="utf-8"> $('#printdata').click(function() { datastring = {customer :'val', person :'val', address :'val', phone :'val'}; $.ajax({ type:'POST', url:'print.php', data:datastring, cache:false, success:function(){ alert('?????'); …

Member Avatar for diafol
0
242
Member Avatar for Siberian

I want to know if this jQuery pseudo-code would fade out then hide the ID#Fabric ? $("#fabric")function() { .fadeOut("6000").hide("500") }

Member Avatar for JorgeM
0
180
Member Avatar for chaitu11
Member Avatar for ScubaSam

Hey everyone I'm looking for someone to help me, I want to view my outlook reminders using JavaScript. Any help would be appreciated.

Member Avatar for pritaeas
0
130
Member Avatar for Siberian

When using "return" in Jscript is it's purpose if used in a function to write something back ? Instead of explaining here is a piece of code. function apple() { var one = "Hello"; var two = "Orange"; var total = One+Two; return total; } document.write(total); Shouldn't the write command …

Member Avatar for Siberian
0
178
Member Avatar for danieldake

Hello Guys. I am fetching some results from database and show into a page. This is a CodeIgniter Project. Here si the code for that: This is the view: <div class="product_view"> <form action="" method="POST" name="form" id="form"> <?php foreach ($get_product->result() as $key => $result) : ?> <h4>Product Name: <?php echo $result->product_name; …

Member Avatar for diafol
0
5K
Member Avatar for swshyamash

I am working on online shopping website(e-commerce) website, in which I have a task to retrive products (product id, name, imageurl, price, details of product) Image having in image folder folder where stored images and that pah is given to database.. HereI want to fetch category on clicking menu categories …

Member Avatar for swshyamash
0
82
Member Avatar for tanzia.khan.71

I am trying to make a dynamic data table . I need row will add dynamically in table and only latest four row show in table . I don't need to show all data in table. here is my code to show dynamic row: $('#history').append('<tr><td>'+labordate+'</br>'+ formattedStart+'</td><td>'+formattedEnd+'</td><td>'+lengthFormatted+'</td><td>'+timeBetweenFormatted+'</td></tr>') Thanks for any help

0
146
Member Avatar for Violet_82

HI I am looking into object literals, a topi that I am afraid I really don't know much about. Anyway, I thought I'd try something but I didn't get it to work and I am not sure what I am doing wrong. I have an HTML page: <html> <head> <title>This …

Member Avatar for Troy III
0
197
Member Avatar for dhruvarora227

I saw this effect on this website 'http://www.reviews42.com/home/' with the images and all, anyone know how can I get this effect on my image gallery?

Member Avatar for jkon
0
73
Member Avatar for vuyiswamb

Good Day All i am opening a Popup and i want to bind the "onbeforeunload" to the popup that if someone clicks on the close button in the window or close button in the page , the event should fire a javascript function that is on the page that opened …

Member Avatar for Troy III
0
252
Member Avatar for Mohamed_26

Hello, I am able to add one item into the basket. But, I was told that using Javascript I can add more items. Can you please help me? <?php require "connect.php"; $query = "SELECT `DVDID`, `NameOfTheDVD`, `Quantity`, `Price` FROM `DVD` "; $stmt = $dbhandle->prepare($query); $stmt->execute(); $num = $stmt->rowCount(); echo "<table …

Member Avatar for Mohamed_26
0
237
Member Avatar for johnef_sh

I am working on a Google Map api3, I am adding points on the map and save it to my database this part is working fine now in the end of adding the map and click on save and close I need to redirect to another page which will tell …

Member Avatar for johnef_sh
0
252

The End.