15,116 Topics

Member Avatar for
Member Avatar for yankeefan24

I have this form where I pass select values to an input field. Is it possible to pass this results in to a td instead of an input field? here is the code http://jsfiddle.net/jencinas69/ytXnC/

Member Avatar for diafol
0
171
Member Avatar for tom_benton

My intention is to build a conference booth map. Let's say I have drawn a square on an image file with a fill color of white. I need to have the ability to change the fill color. How can I programatically do that via javascript? Or is there any software …

Member Avatar for tdjprj
0
61
Member Avatar for mhd_arif123

Hi there ! The code(in model) given below generates the list structure: function getNavigation($parent_id = 0, $show_product = 0, $flg = 0 ){ $query = $this->db->get_where('categories', array('parent_id' => $parent_id)); //var_dump($query->result()); //exit; if($query->num_rows() ){ $this->navigation .= '<ul id="browser" class="filetree">'; foreach($query->result() as $v){ $this->navigation .= '<li> <span class="folder">'; if($flg) { if($v->categories_id == …

Member Avatar for diafol
0
1K
Member Avatar for prem2

Hi guys, I am struggling with regular expression.Can you please suggest the regular expression for the below patterns. I have tried many times with several patterns but still i could not resolve the below patterns. 1. Must contain at least one alpha character (i.e. a, b, c etc,) 2. Only …

Member Avatar for pritaeas
0
252
Member Avatar for designershiv

Hi, Can anyone tell me how to get instagram api for displaying images in website. Ex: instagram.com/miniusa //getting images of miniusa Thanks in advance

Member Avatar for designershiv
0
147
Member Avatar for dennishall

Hi All: I have a challenging jQuery XML task I'm trying to accomplish as follows: I have an XML structure as follows: <nav_data> <outline> <links> <slidelink slideid="_player.6LjVRsWzPla" displaytext="Scene 1" expand="true"> <links> <slidelink slideid="_player.6LjVRsWzPla.6GWiXuWmXyn" displaytext="Fundamentals" expand="true" /> <slidelink slideid="_player.6LjVRsWzPla.6gxk7XqbaT8" displaytext="Closed Captioning Example" expand="true" /> <slidelink slideid="_player.6LjVRsWzPla.5rPNkwvz8u2" displaytext="Another Cationing Example" expand="true" /> …

Member Avatar for iamthwee
0
263
Member Avatar for LegateLucius

i want to do something like this how do you do it? <?php $meat="cow"; <script type="text/javascript"> document.write($meat); </script> ?>

Member Avatar for mmcdonald
0
234
Member Avatar for cgull

Hello, I am developing a site with CI 2.1.3 I have a blog module, in this blog I have a form to post a comment. I am calling this form inside a view with: `echo Modules:: run('blog/comment');` When I submit this form with ajaxForm, or refresh the page, the values …

Member Avatar for cgull
0
3K
Member Avatar for mmcdonald

Hi all, I'm currently looking at this [JSFIDDLE](http://jsfiddle.net/MH8e4/6/) and it's 50% of what I need. I have a series of Accordions on my page (a list of courses). What I would like to do is assign these accordians to categories so that when a checkbox is pressed with the id …

Member Avatar for mmcdonald
0
374
Member Avatar for veledrom

Hi, I try to do the examples in these pages but none works. When i run, it shows "Error" word on the status bar of my browser. What do you think it doesn't run? Thanks [url]http://www.w3schools.com/PHP/php_ajax_xml.asp[/url] [url]http://www.w3schools.com/PHP/php_ajax_database.asp[/url] [url]http://www.w3schools.com/PHP/php_ajax_responsexml.asp[/url] [url]http://www.w3schools.com/PHP/php_ajax_livesearch.asp[/url]

Member Avatar for kanoy83
0
450
Member Avatar for harderm

I want to have a bullet precede any text typed. When an [Enter] key is pressed, a new line starts with a bullet preceding whatever new text is typed. I've seen this done at fargo.io and workflowy.com and need to know how they do it!

Member Avatar for iamthwee
0
179
Member Avatar for mmcdonald

Hi all, My local development project has been working perfectly for...6 days now? I haven't even touched the login/register page for 2 days+ yet all of a sudden all JavaScript has seized up! I've been using the page to login all day and only now has it stopped working. I'm …

Member Avatar for mmcdonald
0
180
Member Avatar for slakkaraju

Hello, I am new to Javascript and HTML. Trying to learn through web. I want to make an image map. Example: Like our desktop start button I have a hotspot.m When we click on that , the second image should display on top of existing image at a fixed position. …

Member Avatar for iamthwee
0
64
Member Avatar for Diogo Martinho

I'm currently having an issue while trying to pass Data to my controller in my MVC application. Here is my code $('#idNumber') .autocomplete( { source: "/@Resources.Global.Lang/Client/AutoComplete?ID=" + $("#idNumber").val() + "&country=" + $("#country").val(), select: function (e, ui) { var temp = $("#idNumber").val(); var temp2 = $("#country").val(); $.ajax({ type: 'POST', url: "/@Resources.Global.Lang/Client/searchClientByID?ID=" …

Member Avatar for iamthwee
0
117
Member Avatar for mmcdonald

Hey all, I'm trying to make a link outside of the nav-tabs class, specifically in a paragraph, that changes to another tab on the same page. Granted that I know this requires JS and that I know nothing of JS (Another book i ordered this morning :) ) here is …

Member Avatar for mmcdonald
0
227
Member Avatar for cguan_77

hi guys, is there a way to create in Javascript or Jquery to have a search box and search for the data within the HTML page. In the HTML page, there's a lot of links. Basically the HTML page looks like this: File No 1 - Link to File No. …

Member Avatar for crescendo
0
187
Member Avatar for wallflips

Hello dear DaniWeb users and thanks for reading this thread. Eight months ago I started a forum CMS project, but alone it's very hard to develop fast and quality. My intentions of writing this thread are to make some interest over the developers of this massively huge website and to …

Member Avatar for vanessa001
0
663
Member Avatar for cgull

Hello, I am developing a web site with codeigniter 2.1.3 I am using an ajax call to post data to my controller, but for some reason the data is not being sent. I am using ajax calls all over the application and they all work well just not this one. …

Member Avatar for cgull
0
3K
Member Avatar for MWEB

Hello ! This code below should display me all the alert boxes but , unfortunetly it display only 3 ( without the alert inside the $.post function ) and i really don't see a problem in my code .. What is wrong? JS var uname = name.val(); alert( uname ); …

Member Avatar for MWEB
0
203
Member Avatar for blitznck_1

I am trying to get Ajax to load a form which is created in PHP and assigned a variable $copen. In Ajax how do I go about placing the variable in the URL part of Ajax to open and retrieve the JSON data. The code in my Ajax script: $.ajax({ …

Member Avatar for blitznck_1
0
400
Member Avatar for aVar++

Here is my code, the problem I have is the alert just isnt showing, however if the alert is put in the while loop it shows but outside the loop it doesn't could someone explain why? <script> function GetText() { var name = document.getElementById("name").value; var age = document.getElementById("age").value; var house …

Member Avatar for Unimportant
0
174
Member Avatar for McLaren

When I try to search kinetic.js tutorials, I mostly get links to http://www.html5canvastutorials.com or http://www.kineticjs.com/ . There are example in those sites, but not much explainnation. Documantation is also very poor comparing to lets say jquery documentation. There are also other sitesm but as I see they most often post …

Member Avatar for gamingthinktank
0
760
Member Avatar for |-|x

Hi guys, Working on one of my web projects recently I came accross a need for presenting some readonly data as part of the user input form. The readonly property of the input tags seem to work as expected for other types of input control, but not for the checkbox. …

Member Avatar for rohitdubey
0
5K
Member Avatar for jonsan32

I have a link leading to 1 of 6 articles displaying on my website. Every 6 seconds, the text link switches to the next. I'd like for the order to be randomized, though, so that each article has the same likelihood to be chosen. Can anyone help? My code on …

Member Avatar for jonsan32
0
191
Member Avatar for MWEB

Hello everyone! I have a question .. i have a js file (script.js) and a php file (script.php) , in the php file i have a code that verify a user and in the script js i have this: var uname = name.val(); $.post('HERE IS THE QUESTION' , {names:uname} , …

Member Avatar for MWEB
0
325
Member Avatar for rakwel10

Hello, I have this site. It loads slow on first access on the site. Once loaded, just hovering the navigation or scrolling with the mouse gives me slow motion. I hope you could help me find the problem. [Click Here](http://www.callumco.com) for the site. Hoping for your reply.. Thanks!

Member Avatar for Troy III
0
232
Member Avatar for tossot92

I have script [(Here)](http://jsfiddle.net/8afkT/) that check the either specific font is installed or not on local computer. In both conditions it shows the alert box. Now I want some modification. Please help. I want that: * When specific Font is "NOT INSTALLED" show [this](http://www.emanueleferonato.com/2007/08/22/create-a-lightbox-effect-only-with-css-no-javascript-needed/) CSS based lightbox rather then alert …

Member Avatar for Troy III
-1
272
Member Avatar for Nathaniel10

I have a form with several inputs. One has a sub-input based on the condition of the original input. An example is: <input onChange="javascript:addRow()"/> The JS function works. function addRow() { Dynamic HTML code ... } However, if the original input is modified a second time, the JS function executes …

Member Avatar for Troy III
0
200
Member Avatar for leandros.ioannou

Hi am trying to create a card game. I have to show the cards using text, but i cant find the code to update text when the player change the cards. I used to try using "document.write" but as i learnt its not updateable. Any help? <!DOCTYPE html> <html> <head> …

Member Avatar for leandros.ioannou
0
328
Member Avatar for john.jansen.549

i have a script and would like to say that it has to wait X TIME before it operates again. i dont know if iam worng with my script: if(document.body.innerHTML.search(/(E|e)rror/) == -1) { if(document.body.innerHTML.search(/Submit/) == -1){ if(document.body.innerHTML.search(/XXXXX/) != -1) { window.location = "XXXXX" } if(window.location.pathname == "XXXXX") { if(document.body.innerHTML.search(/XXXXX/) != …

Member Avatar for EvolutionFallen
0
70

The End.