1,694 Topics

Member Avatar for
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 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
786
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
131
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
220
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
292
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
138
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 patk570

Hello everyone, I am trying to get a code that will check the length of the a 'key' that will be generated in xxxxx-xxxxx-xxxxx-xx format. I need it to verify that it meets the requirements. I do not need it to validate on the server, but i do need it …

Member Avatar for JorgeM
0
402
Member Avatar for game4tress

I'm creating a chat system and the problem is that when testing with two users, the secound user (entering the system) can see the first user (already loged in), but the first user will never see the next user(s) entering the system. I know that the problem comes from the …

0
200
Member Avatar for kannan mangalar

**this table dont have a id,class, i want get the content** <table width="100%" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="14%" height="25">FullName:</td> <td width="86%">kannan</td> </tr> <tr> <td height="25">email</td> <td>kanna@sample.com</td> </tr> </tbody> </table>

Member Avatar for diafol
0
223
Member Avatar for patk570

Hi everyone, I am working on a site, just one page with all the information on it. What happens now is when I scroll down the page, and I get past the navbar, it gets fixed to the top like I want. Its all working fine, but my question is, …

Member Avatar for patk570
0
134
Member Avatar for Ramji_1

I have Placed a jquery drag and drop example in joomla article. It's working properly with firefox browser but not working in chrome browser. In chrome, actually drag and drop is working but problem is that buttons are not visible on dragging. Here's link to my example - http://joomla3.guru99.com/lesson-3.html Here's …

Member Avatar for sachin_2
0
495
Member Avatar for mohan@nano

i want validate the textbox value . i alresdy ve another text box value which is get from the database. i want to compare these 2 values and the databsae value is the grater value next textbox should be = or below to the database value pls help me

0
96
Member Avatar for khadija.cheeko

i want to change the colour of output text field when i check the check box. its working fine if instead of output i use inputext field but not working with out put text field. this is the code snipt of jsp page <af:panelFormLayout id="pfl3"> <af:selectBooleanCheckbox label="Noun " id="sbc1" selected="true"/> …

Member Avatar for JorgeM
0
641
Member Avatar for josverhoeff

Hi, I thought I'd share this with you. If you want all fields on a web form to be emptied of ther initial value (if any) on focus and filled again with the initial value on blur. Works with jquery.

Member Avatar for JJenZz
0
246
Member Avatar for notacop

I have this checkboxes HTML Code: <input type="checkbox" class="calc" name="access[a]" value="1" /> <input type="checkbox" class="calc" name="access[b]" value="2" /> <input type="checkbox" class="calc" name="access[c]" value="3" /> <input type="checkbox" class="calc" name="access[d]" value="4" /> I need the following thing, i will explain it in an example: Example: User selects third and fourth fields, 7(3+4) …

Member Avatar for diafol
0
148
Member Avatar for GeekPlease

Good day folks, I'm currently doing a project which needs to be something like this http://wandaprint.com/home This is what I've done so far. Can you give me some tips on how to do this one. **HMTL:** <html> <head> <title>My Site</title> <link rel="stylesheet" type="text/css" href="reset.css" /> <link rel="stylesheet" type="text/css" href="style.css" /> …

0
87
Member Avatar for SPRINGHEEL

Hey guys, I've been trying to get this to work. don't know how. <link rel="stylesheet" href="../js2/css/smoothness/jquery-ui-1.10.4.custom.css" type="text/css" /> <script src="js/jquery-1.9.1.js"></script> <script src="../js2/js/jquery-ui-1.10.4.custom.js"></script> <script type="text/javascript"> $(document).ready(function() { $('#box').dialog(); }); </script> <?php echo("<div id='box'> Password changed </div>"); ?> It doesn't workk somehow, can anyone help me?

Member Avatar for JorgeM
0
345
Member Avatar for game4tress

I have fields in a table that are being constantly updated with the current time (each second). First, the controller calls a function to create the record in the database public function saveEntry($theuser='') { $data = array( 'theuser' => $theuser , 'dateentered' => date('Y-m-d') , //date('d-m-Y H:i:s') , 'gname' => …

Member Avatar for Tpojka
0
298
Member Avatar for Master Mascus

Hello guys, I am having a problem with a regular expression in my jquery validation. Can someone help me please. The method : $.validator.addMethod( function (value, element) { /^[A-Z]{1}\d{12}[A-Z0-9]{1}$/.test( value ); }, "Invalid NIC." ); An example of the NIC field : L261089652789A or L2610896527897

Member Avatar for pritaeas
0
255
Member Avatar for NDoubleD

I'm using Twitter bootstrap 2.0.4 for a website. I have a carousel with a certain number of pictures, which gets created just fine. It starts cycling, the pausing on hovering works, the next and previous buttons all work. Only thing that's odd is that when it reaches the end of …

Member Avatar for travis.holt.921_2
0
1K
Member Avatar for klemme

Hi all, I am creating a function, that filters products, that are allready loaded into the DOM. JSFiddle: http://jsfiddle.net/Klemme/8CFVa/2/ Please read on, two get the issue :-) In each product div, I have listet an HTML5 data attribut like this example: data-options="{"brand":"acer","screenSize":"17","processor":"intel","grafik":"intel"}" I have 2 groups of checkboxes working now, …

0
234
Member Avatar for Vmailservice

<script type="text/javascript"> var arr = [{ val: 1, text: 'Option 1' }, { val: 2, text: 'Option 2' }]; $(function () { $('a').click(function () { var sel = $('<select>').appendTo('body'); $(arr).each(function () { sel.append($("<option>").val(this.val).text(this.text)); }); $('<br>').insertBefore(sel); $('<input/>').insertAfter(sel); return false; }); }); </script> </head> <body> <a href="">Add Select Box</a> </body> with is …

Member Avatar for diafol
0
149
Member Avatar for suresh.chaudhari.75

<script type="text/javascript"> $(document).ready(function () { $("#Button6").on('click',function () { $("#Image1").attr('src', 'img/s.jpg'); }); }); </script> <asp:Image ID="Image1" runat="server" Height="284px" Width="284px" src="" style="height:300px;width:300px;left:400px;margin-top:100px;" ClientIDMode="Static"/>

Member Avatar for JorgeM
0
120
Member Avatar for Hayezb

Hello! I'm needing some help integrating HighCharts into my CodeIgniter application and getting data from my MySQL database! I've followed a YouTube video on actually integrating HighCharts and it was extremely straightforward. However, that method included a hardcoded array and I'm needing to generate an array from data stored in …

Member Avatar for diafol
0
1K
Member Avatar for active-worker

I have created a responsive site. This site has two menu like main menu and footer menu. I use selectnav.js in main menu for creating a navigation menu. I want to create same navigation menu for footer menu using selectnav.js. But I can’t do that. So, please help to solve …

0
66
Member Avatar for Eagle.Avik

hi, i want ajax to be called only once, but insted it calls everytime when i click on the button. my script: $(document).ready(function(){ $("#modal-launcher-user").click(function(){ $('#preloader_image_edit').show(); $.ajax({ url: "image_edit.php", cache: false, }) .done(function( html ) { $("#preloader_image_edit").hide(); $( "#results_image_edit" ).append( html ); }); }); });

Member Avatar for Eagle.Avik
0
648
Member Avatar for safeer008

Hi Can I use the ajax to update a form feild by get a value of another feild on the same page(without submiting the page). This process involves the mysql as well.

Member Avatar for M.Waqas Aslam
0
107
Member Avatar for juslai

<table width="200" border="1" class="form_table"> <tr> <td>Driver:</td> <td><select name="driver" class="driver" id="form_name" > <?php do { ?> <option value="<?php echo $row_Driver['id_driver']?>"><?php echo $row_Driver['driver_fullname']?></option> <?php } while ($row_Driver = mysql_fetch_assoc($Driver)); $rows = mysql_num_rows($Driver); if($rows > 0) { mysql_data_seek($Driver, 0); $row_Driver = mysql_fetch_assoc($Driver); } ?> </select></td> </tr> <tr> <td>Waybill:</td> <td><select name="select" class="waybill" id="form_name" ></select></td> …

0
91
Member Avatar for pawan768

Hi , I'm developing a HTML page in which user have an option to zoom image two time in the same frame same as [goo.gl/PZweZ9](http://www.goo.gl/PZweZ9) , I search alot but unable to find the same.

Member Avatar for pritaeas
0
129

The End.