15,120 Topics

Member Avatar for
Member Avatar for kgizo

hi i'm new to ajax i've already got a drop down menu populated with values from my database and the code is underneath here, when i click on any province in the drop down menu the cities have to appear on the next page which are also from my database.The …

Member Avatar for kgizo
0
164
Member Avatar for new_developer

Hi there, I am working on form validation, i want to validate "Name" input field value . I want that in "Name" input field no number can be input. Is there any function which search number/s from string ?? i.e if user inputs any number in that field with string …

Member Avatar for Taywin
0
138
Member Avatar for Transcendent
Member Avatar for mark4013
0
264
Member Avatar for iamchamith

Dear Friends, i use php for develop a web site..I generate a table with images at back end of php..after that I innerHTML that table to html div tags...In image click event i must want to fire jquary function...In testing time(hard code that table in html page) the function is …

Member Avatar for makman99
0
92
Member Avatar for lifeworks

HI I have this js function for pulling out a couple of links which I want to add onclick handlers to... but IE can't find the rel attribute the way Im doing it, Im assuming it can another way, but I dont know how?! this works in Chrome, but not …

Member Avatar for Airshow
0
227
Member Avatar for yashted

In the following code, the click event is added explicitly to the body, so that even if click outside the button say on the body the div with ID tip1 should close with a fade effect. The problem here is that the the div closes even if we click on …

Member Avatar for Luckychap
0
137
Member Avatar for vijaygupta

Hello , I want to add muliple radio button on click of a radio button and this to happen in sub radio buttons also any kin of help appreciated thanks

Member Avatar for pzuurveen
0
68
Member Avatar for newbieJS

I am working on an optional exercise for a course, being optional no one has posted any helpful feedback on the course forum. I have finished the code as instructed, to the best of my ability and cannot located the problem. The script is supposed to activate a red ball …

Member Avatar for Taywin
0
268
Member Avatar for erioch

Hi all, I am trying to show a field based on another field's value and hide it it initially... like when you want students to select their schools if they have gone for education ortherwise the school field remains inactive... I have the folowing scipt but it is not being …

Member Avatar for erioch
0
449
Member Avatar for imon214

how to populate select box depending upon the selection of the radio button on rails anyone knows what will be the possible ajax and rails script for populating dropdown list values based on selected radio button on rails 3 example there are two type of platform choices(windows, unix) of radio …

Member Avatar for Taywin
0
1K
Member Avatar for McLaren

Hi, I want to get such data using AJAX from PHP. With php I generate data this way: [CODE=php] $return['credits'] = $credits; $return['banners'] = $this->generate_banners($user->id); echo json_encode($return); [/CODE] generate_banners: [CODE=php] function generate_banners($user_id) { $html = ''; $query = $this->db->where('user_id',$user_id)->select('filename')->get('jos_reklama_banners'); if($query->num_rows() > 0) { foreach($query->row() as $filename) { $html .= '<div …

Member Avatar for McLaren
0
755
Member Avatar for serdas

hi, i don't know coding and trying to find if is it possible to have a text area pre filled and has an image and a link and some text. is it possibele? below is what i am trying to do please help. thank you this is what i would …

Member Avatar for makman99
0
136
Member Avatar for maverick420

I am trying to validate the fields in the form and trying to POST the input after validating form the server however I am able to validate the fields but not able to POST the data form the field, please help if anyone could. [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML …

Member Avatar for Luckychap
0
168
Member Avatar for bkimbriel

Hi, I'm currently working on a website for my dad that has dynamic fields (hit a button and an html template gets displayed). You can see the template in use here... [url]http://hbndev.com/ipad/index.php?option=com_content&view=article&id=5&Itemid=6[/url] As you can see it works, perfectly. EXCEPT for when you add a field it drops to below …

Member Avatar for Airshow
0
209
Member Avatar for ndowd

I am trying integrate an upload system from YouSendIt.com in to my companies forms. The code they give for integration is basically an iframe with a coded URL set for the source. Their server sends a postback using HTTP Post method but I am not sure how to access the …

Member Avatar for ndowd
0
312
Member Avatar for serdas

hi, i am sorry i dont understand coding but trying to find this out i have this <a href="#" onclick="publishStream(); return false;">Click Here Publish Box</a> after click popup comes asks to publish or skip i would like to change it to this <body onLoad="publishStream(); return false;;"> which eliminates the first …

0
47
Member Avatar for cleggy1987

hi i am having trouble with resizing can't get id using $(this).attr("id") [CODE] <script type="text/javascript"> $(document).ready(function() { $('.text_wrapper').resizable({ onResize: function(e) { var id = $(this).attr("id"); var parent = $(this).parent(); $('.wrapper').load('modules/web/process-sortable-size.php?height='+ e.data.resizeData.target.css('height') +'&width='+ e.data.resizeData.target.css('width') +'&id='+ id); }, onStop: function(e) { } }); }); </script>[/CODE]

Member Avatar for cleggy1987
0
121
Member Avatar for ShadyTyrant

Hello I have a web site called shadygames. I want to make sure that all the information is filled out in a contact form I have set up. I am using ajax to update the page if more information is required by the user. I have the email validation working …

Member Avatar for McLaren
0
166
Member Avatar for McLaren

Hi, where is the best practice to put js, image, css files when you make component? I put them in the same directory as component is. Is it good practice? Or should they be in media directory?

Member Avatar for McLaren
0
156
Member Avatar for anirban1087

Hi, I am working on a form which is as follows - +---------------+----------------+--------------+-----------------+---------------+ |Item_Code |Item_Name |Quantity |Rate |Amount | |[ COMBO BOX ] |[ COMBO BOX ] |[ USER INPUT ]|[ Auto Fill after| [ CALCULATED ]| |Generate Field2|Generate Field 1| |selecting f1/f2 | | +---------------+----------------+--------------+-----------------+---------------+ The user can either …

Member Avatar for Pnorq
0
125
Member Avatar for petrakid

Hi. I have a div which contains dynamic content populated with AJAX (user has two select boxes to filter query results) However when filtered results extend past the initial height of the div in question, the div remains the same size and the results overflow out of my content area. …

Member Avatar for Pnorq
0
1K
Member Avatar for ETbo

Hello all, I would like your help on chunking a multidimensional array, which appears to be a complex job. The array has the following structure: name["rows"]["key1"] = some String; name["rows"]["key2"] = some String; name["rows"]["key3"] = some String; name["rows"]["key4"] = some String; name["rows"]["key5"] = some String; ... name["rows"]["keyN"] = some String; …

Member Avatar for Taywin
0
291
Member Avatar for mangopearapples

Hey guys, I'm having a little bit of trouble here. I have a variable called Latest1 and it's value is some HTML and PHP code. I have a function that does document.getElementById().innerHTML = Latest1; So when that happens, it runs the HTML code but for some reason it doesn't run …

Member Avatar for mangopearapples
0
216
Member Avatar for omaiaa0p

Hello Everyone, I used to have a post function that works but it suddenly says: aborted when I run firebug on it and I dont know how I can fix it. I am using servlets in a netbeans IDE and would like to know how to fix it. Once it …

Member Avatar for omaiaa0p
0
138
Member Avatar for whiteyoh

Hi All, I want to be able to have a form element greyed out unless other elements are satisfied. Ive got the following code so far, but i cant seem to get it to recognise that i have made the selection. Also im wondering how to make it only ungrey …

0
73
Member Avatar for Deva.VG

Hi, I am new to testcomplete. I'ld liket to do automation testing using Jscripts in Testcomplete but not all JScripts properties and functions supports here. So how can I learn this, is there any tutorial to learn complete Properties and Functions with some examples to workout Jscripts in Testcomplete.. Can …

Member Avatar for jsm77
0
65
Member Avatar for rajeesh_rsn

Hi friends, I want to change content of one of div using jquery and animate the div height and width according to new height and width. I want to change about 12 contents. Everything working fine with my code except height issue. My question is how to calculate newly loaded …

0
78
Member Avatar for vishalkhialani

Hi Guys, I am trying to implement the masonry plugin on my blog [url]www.Iamvishal.com[/url] but I can't seem to get it working. Below is my code. Any clues as to what I am doing wrong ? [CODE] $(window).load(function () { $('#content').masonry({columnWidth: 185}); }); [/CODE] Cheers, vishal

Member Avatar for vishalkhialani
0
92
Member Avatar for tekboi

I'm trying switch the twitter javascript widgets out depending on the time. So in the day, the twitter widget will be colored differently than at night. I used the code that twitter gave me and came up with this code. But I get a syntax error in DW on the …

Member Avatar for Taywin
0
191
Member Avatar for kaizerkiller

Hello peeps! Any idea how to make a search result landing page like Google image result? Like the one when you click one image it redirects you to an image preview first before it redirects to the source of that image. I was thinking it could be AJAX, but I'm …

Member Avatar for Akash Saikia
0
85

The End.